1
0
Fork 0
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:
Yehuda Katz 2009-10-28 01:43:46 -07:00
parent a0fc92f455
commit 654b33afc5

View file

@ -79,8 +79,8 @@ module ActionController #:nodoc:
# do not apply this verification to the actions specified in the associated # do not apply this verification to the actions specified in the associated
# array (may also be a single value). # array (may also be a single value).
def verify(options={}) def verify(options={})
before_filter :only => options[:only], :except => options[:except] do |c| before_filter :only => options[:only], :except => options[:except] do
c.__send__ :verify_action, options verify_action options
end end
end end
end end