mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
New semantics eliminate the need for __send__
This commit is contained in:
parent
a0fc92f455
commit
654b33afc5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue