Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New semantics eliminate the need for __send__

  • Loading branch information...
commit 654b33afc5a789aea90199bbb108093a80fe8020 1 parent a0fc92f
Yehuda Katz wycats authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/metal/verification.rb
4 actionpack/lib/action_controller/metal/verification.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.