aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/prototype_helper.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2011-03-09 14:44:25 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2011-03-09 14:44:25 +0000
commit03cbd9672cfc142842c95aae0fb27b8eb27e6990 (patch)
treec1141b17caaf6185b19a47eb74e6d2a0ffe3971a /actionpack/lib/action_view/helpers/prototype_helper.rb
parentf41dd99be78e6e0243e9910aaab64ebd29bdad58 (diff)
downloadrails-03cbd9672cfc142842c95aae0fb27b8eb27e6990.tar.gz
rails-03cbd9672cfc142842c95aae0fb27b8eb27e6990.tar.bz2
rails-03cbd9672cfc142842c95aae0fb27b8eb27e6990.zip
Filter params that return nil for to_param and allow through false values
Diffstat (limited to 'actionpack/lib/action_view/helpers/prototype_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/prototype_helper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb
index b93a072abb..18e303778c 100644
--- a/actionpack/lib/action_view/helpers/prototype_helper.rb
+++ b/actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -131,7 +131,6 @@ module ActionView
"new Ajax.Updater(#{update}, "
url_options = options[:url]
- url_options = url_options.merge(:escape => false) if url_options.is_a?(Hash)
function << "'#{ERB::Util.html_escape(escape_javascript(url_for(url_options)))}'"
function << ", #{javascript_options})"