aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2007-03-26 19:02:19 +0000
committerJamis Buck <jamis@37signals.com>2007-03-26 19:02:19 +0000
commit777deb9d15791e137b200e96283ff03b075fd3dc (patch)
tree3dc9b490dcde83e5ee10fdc116ea14e27ce0d92c /actionpack/lib/action_controller
parentb0685e96845677d679e8a2b5d059d4768cdc9a90 (diff)
downloadrails-777deb9d15791e137b200e96283ff03b075fd3dc.tar.gz
rails-777deb9d15791e137b200e96283ff03b075fd3dc.tar.bz2
rails-777deb9d15791e137b200e96283ff03b075fd3dc.zip
Make sure the expiry hash is built by comparing the to_param-ized values of each hash
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/routing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb
index b44dc0f901..5786e66942 100644
--- a/actionpack/lib/action_controller/routing.rb
+++ b/actionpack/lib/action_controller/routing.rb
@@ -1195,7 +1195,7 @@ module ActionController
def build_expiry(options, recall)
recall.inject({}) do |expiry, (key, recalled_value)|
- expiry[key] = (options.key?(key) && options[key] != recalled_value)
+ expiry[key] = (options.key?(key) && options[key].to_param != recalled_value.to_param)
expiry
end
end