diff options
author | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2015-01-05 12:56:23 +0530 |
---|---|---|
committer | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2015-01-05 16:52:19 +0530 |
commit | 21dfe89ac7175ec2a625843085a4cdd78952a187 (patch) | |
tree | 1e68f2f6ba341904b92a8ed1db3636f1ae2cc741 /actionpack | |
parent | e50064c130f8b6465a78928e38588196515ccf27 (diff) | |
download | rails-21dfe89ac7175ec2a625843085a4cdd78952a187.tar.gz rails-21dfe89ac7175ec2a625843085a4cdd78952a187.tar.bz2 rails-21dfe89ac7175ec2a625843085a4cdd78952a187.zip |
remove unneeded check since /_one_time_conditions/ is removed
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index 5bb34daf81..8c7cec3561 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -86,8 +86,7 @@ module AbstractController # And always exclude explicitly hidden actions hidden_actions.to_a - # Clear out AS callback method pollution - Set.new(methods.reject { |method| method =~ /_one_time_conditions/ }) + methods.to_set end end |