diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-12-05 00:22:50 +0100 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-12-05 01:03:03 +0100 |
commit | e064658d64f7fb071ec35764f2d5203e8b58e044 (patch) | |
tree | 0109a9eb604e0b5a201540f40c265e4be69ff514 /actionview/lib/action_view | |
parent | d8888b94b32b28003ec247d0565e73dee731275e (diff) | |
download | rails-e064658d64f7fb071ec35764f2d5203e8b58e044.tar.gz rails-e064658d64f7fb071ec35764f2d5203e8b58e044.tar.bz2 rails-e064658d64f7fb071ec35764f2d5203e8b58e044.zip |
Include AV::Layouts directly in AM::Base
No need to do this in railtie as AM depends on AV either way
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/railtie.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/actionview/lib/action_view/railtie.rb b/actionview/lib/action_view/railtie.rb index 7db557ff83..e930ba9aae 100644 --- a/actionview/lib/action_view/railtie.rb +++ b/actionview/lib/action_view/railtie.rb @@ -42,12 +42,6 @@ module ActionView end end - initializer "action_view.setup_action_mailer", before: :add_view_paths do |app| - ActiveSupport.on_load(:action_mailer) do - ActionMailer::Base.send(:include, ActionView::Layouts) - end - end - rake_tasks do load "action_view/tasks/dependencies.rake" end |