aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-11-25 21:31:14 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2010-11-25 21:31:14 -0200
commit74049b57fba3d26a5c9ac220619362ff36893b13 (patch)
treeabb9f7fc5c7fda5ea79c44bf4ac6b8cf178e9e0d /actionpack
parenta98d9d65aef31e3e1c95f59cd65ac7e1cbe76f89 (diff)
downloadrails-74049b57fba3d26a5c9ac220619362ff36893b13.tar.gz
rails-74049b57fba3d26a5c9ac220619362ff36893b13.tar.bz2
rails-74049b57fba3d26a5c9ac220619362ff36893b13.zip
implicit self here
Diffstat (limited to 'actionpack')
-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)