1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add load hook for ActionText::RichText

This commit is contained in:
George Claghorn 2019-01-07 17:04:58 -05:00
parent cd16413ef3
commit 29bb990f97
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -1511,6 +1511,7 @@ To hook into the initialization process of one of the following classes use the
| `ActionMailer::Base` | `action_mailer` |
| `ActionMailer::TestCase` | `action_mailer_test_case` |
| `ActionText::Content` | `action_text_content` |
| `ActionText::RichText` | `action_text_rich_text` |
| `ActionView::Base` | `action_view` |
| `ActionView::TestCase` | `action_view_test_case` |
| `ActiveJob::Base` | `active_job` |