aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_controller/metal/mime_responds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb
index 2e58155b7c..9ba37134b8 100644
--- a/actionpack/lib/action_controller/metal/mime_responds.rb
+++ b/actionpack/lib/action_controller/metal/mime_responds.rb
@@ -278,7 +278,7 @@ module ActionController #:nodoc:
def initialize(mimes, &block)
@order, @responses, @default_response = [], {}, block
- mimes.each { |mime| self.send(mime) }
+ mimes.each { |mime| send(mime) }
end
def any(*args, &block)