aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-04-22 12:35:44 -0300
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-22 09:07:53 -0700
commitebf9820f7eb83476d200c71915dd0e8a056bcbab (patch)
tree97436c13dd6df993ce546306f9fe860eb581d0c8 /actionpack/lib
parent920df0a4758d003dc284c13e439e0b9f60a6e6f0 (diff)
downloadrails-ebf9820f7eb83476d200c71915dd0e8a056bcbab.tar.gz
rails-ebf9820f7eb83476d200c71915dd0e8a056bcbab.tar.bz2
rails-ebf9820f7eb83476d200c71915dd0e8a056bcbab.zip
HWIA symbolize_keys now returns a hash so no need to do this anymore
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 13a54b0c21..4ffc5ea127 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -102,7 +102,7 @@ module ActionView
escape = true
options
when Hash
- options = { :only_path => options[:host].nil? }.update(options.to_hash.symbolize_keys)
+ options = { :only_path => options[:host].nil? }.update(options.symbolize_keys)
escape = options.key?(:escape) ? options.delete(:escape) : false
super
when :back