Remove abstract_controller load hooks
This commit is contained in:
parent
49608f7b81
commit
b9b48c7806
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue