aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-10-28 01:43:46 -0700
committerYehuda Katz <wycats@gmail.com>2009-10-28 01:43:46 -0700
commit654b33afc5a789aea90199bbb108093a80fe8020 (patch)
tree22fc393a295cbdb5ef7f4071a425cbec6859b99a /actionpack/lib/action_controller
parenta0fc92f455e239fd667ed267b76855eaaf190d2c (diff)
downloadrails-654b33afc5a789aea90199bbb108093a80fe8020.tar.gz
rails-654b33afc5a789aea90199bbb108093a80fe8020.tar.bz2
rails-654b33afc5a789aea90199bbb108093a80fe8020.zip
New semantics eliminate the need for __send__
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/metal/verification.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/verification.rb b/actionpack/lib/action_controller/metal/verification.rb
index d3d78e3749..500cced539 100644
--- a/actionpack/lib/action_controller/metal/verification.rb
+++ b/actionpack/lib/action_controller/metal/verification.rb
@@ -79,8 +79,8 @@ module ActionController #:nodoc:
# do not apply this verification to the actions specified in the associated
# array (may also be a single value).
def verify(options={})
- before_filter :only => options[:only], :except => options[:except] do |c|
- c.__send__ :verify_action, options
+ before_filter :only => options[:only], :except => options[:except] do
+ verify_action options
end
end
end