diff options
author | George Claghorn <george.claghorn@gmail.com> | 2019-01-05 10:40:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 10:40:37 -0500 |
commit | a13612b07096d9b722719972c51a766856ea2d99 (patch) | |
tree | 02910fd5511109f963392af4fc9b703a5e4ad2c0 | |
parent | 2832ca131dd43e15e410af75c1a32664b11595c0 (diff) | |
parent | 78ed534f309d41f9dcb321bd2cdef424d2a1dfaf (diff) | |
download | rails-a13612b07096d9b722719972c51a766856ea2d99.tar.gz rails-a13612b07096d9b722719972c51a766856ea2d99.tar.bz2 rails-a13612b07096d9b722719972c51a766856ea2d99.zip |
Merge pull request #34874 from bogdanvlviv/fix-RichText-api-docs
Fix API docs of `ActionText::RichText` [ci skip]
-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" |