diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2011-03-09 14:44:25 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2011-03-09 14:44:25 +0000 |
commit | 03cbd9672cfc142842c95aae0fb27b8eb27e6990 (patch) | |
tree | c1141b17caaf6185b19a47eb74e6d2a0ffe3971a /actionpack/lib/action_view/helpers | |
parent | f41dd99be78e6e0243e9910aaab64ebd29bdad58 (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/lib/action_view/helpers/prototype_helper.rb | 1 |
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})" |