diff options
author | George Claghorn <george@basecamp.com> | 2019-01-07 17:04:58 -0500 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2019-01-07 17:04:58 -0500 |
commit | 29bb990f97816f3e0fb086ec9985983c51a56a96 (patch) | |
tree | a8da003670d1db03963ef660c46873a334a68031 /actiontext/app | |
parent | cd16413ef3280a50c1b13b1ed7be1a907fad88d1 (diff) | |
download | rails-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.rb | 2 |
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 |