aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-05-24 13:12:40 +0200
committerJosé Valim <jose.valim@gmail.com>2010-05-24 13:12:40 +0200
commit59d1c418be47694a5b79d860bced6f9b7f11f3a8 (patch)
treedfdb012846d30dc7c1c57a203903325083426506 /actionpack/lib/action_controller/metal
parent69a9669d9d51fae8f591cd7a0108b6fc4b47070c (diff)
downloadrails-59d1c418be47694a5b79d860bced6f9b7f11f3a8.tar.gz
rails-59d1c418be47694a5b79d860bced6f9b7f11f3a8.tar.bz2
rails-59d1c418be47694a5b79d860bced6f9b7f11f3a8.zip
Fix a bug where responders were not working properly on method override.
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r--actionpack/lib/action_controller/metal/responder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/responder.rb b/actionpack/lib/action_controller/metal/responder.rb
index 6ad9a23542..22bdcd0f3c 100644
--- a/actionpack/lib/action_controller/metal/responder.rb
+++ b/actionpack/lib/action_controller/metal/responder.rb
@@ -217,7 +217,7 @@ module ActionController #:nodoc:
# the verb is POST.
#
def default_action
- @action ||= ACTIONS_FOR_VERBS[request.method_symbol]
+ @action ||= ACTIONS_FOR_VERBS[request.request_method_symbol]
end
end
end