aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext/app
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2019-01-07 17:04:58 -0500
committerGeorge Claghorn <george@basecamp.com>2019-01-07 17:04:58 -0500
commit29bb990f97816f3e0fb086ec9985983c51a56a96 (patch)
treea8da003670d1db03963ef660c46873a334a68031 /actiontext/app
parentcd16413ef3280a50c1b13b1ed7be1a907fad88d1 (diff)
downloadrails-29bb990f97816f3e0fb086ec9985983c51a56a96.tar.gz
rails-29bb990f97816f3e0fb086ec9985983c51a56a96.tar.bz2
rails-29bb990f97816f3e0fb086ec9985983c51a56a96.zip
Add load hook for ActionText::RichText
Diffstat (limited to 'actiontext/app')
-rw-r--r--actiontext/app/models/action_text/rich_text.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actiontext/app/models/action_text/rich_text.rb b/actiontext/app/models/action_text/rich_text.rb
index a577c991b9..705dd30983 100644
--- a/actiontext/app/models/action_text/rich_text.rb
+++ b/actiontext/app/models/action_text/rich_text.rb
@@ -25,3 +25,5 @@ module ActionText
delegate :blank?, :empty?, :present?, to: :to_plain_text
end
end
+
+ActiveSupport.run_load_hooks :action_text_rich_text, ActionText::RichText