diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-14 23:14:08 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-14 23:14:08 +0000 |
commit | 461dce13ae6db3db60256248c1696a6d1660b0c1 (patch) | |
tree | 1966a3eeec6b44036d467777c50549e804f0b738 /actionwebservice/lib/action_web_service/dispatcher | |
parent | 30fa7053be89de6a4615788862e052be925342c2 (diff) | |
download | rails-461dce13ae6db3db60256248c1696a6d1660b0c1.tar.gz rails-461dce13ae6db3db60256248c1696a6d1660b0c1.tar.bz2 rails-461dce13ae6db3db60256248c1696a6d1660b0c1.zip |
Fix AWS tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/dispatcher')
-rw-r--r-- | actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb b/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb index a338aedbc1..a959150f9d 100644 --- a/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +++ b/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb @@ -37,6 +37,10 @@ module ActionWebService # :nodoc: module InstanceMethods # :nodoc: private def dispatch_web_service_request + if request.get? + render_text('GET not supported', '500 GET not supported') + return + end exception = nil begin ws_request = discover_web_service_request(request) |