diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/mime_responds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/mime_responds.rb b/actionpack/lib/action_controller/mime_responds.rb index 65eb7c896d..1390d77849 100644 --- a/actionpack/lib/action_controller/mime_responds.rb +++ b/actionpack/lib/action_controller/mime_responds.rb @@ -161,7 +161,7 @@ module ActionController #:nodoc: @responses[@order.first].call return else - if priority === @order + if @responses[priority] @responses[priority].call return # mime type match found, be happy and return end |