Permalink
Browse files

New semantics eliminate the need for __send__

  • Loading branch information...
1 parent a0fc92f commit 654b33afc5a789aea90199bbb108093a80fe8020 @wycats wycats committed Oct 28, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/metal/verification.rb
@@ -79,8 +79,8 @@ module ClassMethods
# 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

0 comments on commit 654b33a

Please sign in to comment.