aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-15 17:49:11 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-15 17:49:11 -0700
commit5a45446cff0daf4ca747257a8779dcd5d9cae1d7 (patch)
tree23a7ff81593e1d1060f01f340852fd8477c825c4 /actionpack/lib/action_controller/base
parent7e10504bdeab14ea70a942110a1b1ef6d8467ed3 (diff)
downloadrails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.tar.gz
rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.tar.bz2
rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.zip
Ported Rescuable to new base
Diffstat (limited to 'actionpack/lib/action_controller/base')
-rw-r--r--actionpack/lib/action_controller/base/chained/filters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base/chained/filters.rb b/actionpack/lib/action_controller/base/chained/filters.rb
index 9022b8b279..98fe306fd5 100644
--- a/actionpack/lib/action_controller/base/chained/filters.rb
+++ b/actionpack/lib/action_controller/base/chained/filters.rb
@@ -160,7 +160,7 @@ module ActionController #:nodoc:
def convert_only_and_except_options_to_sets_of_strings(opts)
[:only, :except].each do |key|
if values = opts[key]
- opts[key] = Array(values).map(&:to_s).to_set
+ opts[key] = Array(values).map {|val| val.to_s }.to_set
end
end
end