diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-03 21:11:14 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-03 21:12:15 -0500 |
commit | 836811d22dc2f6000cf3d08c493525a710e63069 (patch) | |
tree | b08cdc3b0a47a2adc6bd353d45613165dcb8510d /actionpack/lib/action_controller | |
parent | bf81a1cfd80191ef144d8fc30783804565bb844e (diff) | |
download | rails-836811d22dc2f6000cf3d08c493525a710e63069.tar.gz rails-836811d22dc2f6000cf3d08c493525a710e63069.tar.bz2 rails-836811d22dc2f6000cf3d08c493525a710e63069.zip |
Remove deprecated ActionController::Metal.call
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb index b31a39b071..337718afc0 100644 --- a/actionpack/lib/action_controller/metal.rb +++ b/actionpack/lib/action_controller/metal.rb @@ -227,14 +227,6 @@ module ActionController middleware_stack end - # Makes the controller a Rack endpoint that runs the action in the given - # +env+'s +action_dispatch.request.path_parameters+ key. - def self.call(env) - req = ActionDispatch::Request.new env - action(req.path_parameters[:action]).call(env) - end - class << self; deprecate :call; end - # Returns a Rack endpoint for the given action name. def self.action(name) if middleware_stack.any? |