Skip to content
This repository has been archived by the owner on Aug 17, 2017. It is now read-only.

Commit

Permalink
Merge pull request #199 from kreeger/use-active-support-on-load
Browse files Browse the repository at this point in the history
Using ActiveSupport#on_load instead of send :include to boot.
  • Loading branch information
jeremy committed Apr 28, 2014
2 parents d854a6f + d9311c5 commit 2e741d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_controller/parameters.rb
Expand Up @@ -265,4 +265,4 @@ def params=(val)
end
end

ActionController::Base.send :include, ActionController::StrongParameters
ActiveSupport.on_load(:action_controller) { include ActionController::StrongParameters }

0 comments on commit 2e741d4

Please sign in to comment.