Remove abstract_controller load hooks

This commit is contained in:
Łukasz Strzałkowski 2013-07-11 16:35:36 +02:00
parent 49608f7b81
commit b9b48c7806
2 changed files with 0 additions and 6 deletions

View File

@ -163,8 +163,6 @@ module AbstractController
method_for_action(action_name).present?
end
ActiveSupport.run_load_hooks(:abstract_controller, self)
private
# Returns true if the name can be considered an action because

View File

@ -40,10 +40,6 @@ module ActionView
ActiveSupport.on_load(:action_controller) do
ActionController::Base.send(:include, ActionView::Layouts)
end
ActiveSupport.on_load(:abstract_controller) do
AbstractController::Base.send(:include, ActionView::Rendering)
end
end
end
end