diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2019-01-05 11:00:39 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2019-01-05 11:01:47 +0200 |
commit | 78ed534f309d41f9dcb321bd2cdef424d2a1dfaf (patch) | |
tree | c3033dd07d4820c52eaaef7d37d8859ad772d3bd /actiontext/app | |
parent | 86517942e469193e8624d5078d718785552c1270 (diff) | |
download | rails-78ed534f309d41f9dcb321bd2cdef424d2a1dfaf.tar.gz rails-78ed534f309d41f9dcb321bd2cdef424d2a1dfaf.tar.bz2 rails-78ed534f309d41f9dcb321bd2cdef424d2a1dfaf.zip |
Fix API docs of `ActionText::RichText` [ci skip]
This text should appear on the page
https://api.rubyonrails.org/v6.0/classes/ActionText/RichText.html
Related to 86517942e469193e8624d5078d718785552c1270
Diffstat (limited to 'actiontext/app')
-rw-r--r-- | actiontext/app/models/action_text/rich_text.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actiontext/app/models/action_text/rich_text.rb b/actiontext/app/models/action_text/rich_text.rb index 3cd15ca59a..a577c991b9 100644 --- a/actiontext/app/models/action_text/rich_text.rb +++ b/actiontext/app/models/action_text/rich_text.rb @@ -1,10 +1,10 @@ # frozen_string_literal: true -# The RichText record holds the content produced by the Trix editor in a serialized `body` attribute. -# It also holds all the references to the embedded files, which are stored using Active Storage. -# This record is then associated with the Active Record model the application desires to have -# rich text content using the `has_rich_text` class method. module ActionText + # The RichText record holds the content produced by the Trix editor in a serialized `body` attribute. + # It also holds all the references to the embedded files, which are stored using Active Storage. + # This record is then associated with the Active Record model the application desires to have + # rich text content using the `has_rich_text` class method. class RichText < ActiveRecord::Base self.table_name = "action_text_rich_texts" |