Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove abstract_controller load hooks

  • Loading branch information...
commit b9b48c780649c40dbec0758e2ff3e9f14b2bf3f3 1 parent 49608f7
@strzalek strzalek authored
View
2  actionpack/lib/abstract_controller/base.rb
@@ -163,8 +163,6 @@ def available_action?(action_name)
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
4 actionview/lib/action_view/railtie.rb
@@ -40,10 +40,6 @@ class Railtie < Rails::Railtie # :nodoc:
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
Please sign in to comment.
Something went wrong with that request. Please try again.