diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-18 14:14:46 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-18 14:14:46 -0700 |
commit | 2d65ff5af7c57f2b66782d40e380a33904d02bce (patch) | |
tree | 2eec76902a52819e2300f11428bd41b0b510a9ae /actionpack/lib/action_view/helpers | |
parent | 6b50bfb0f08b979a0dbd0914443a9d8aafc6cf0a (diff) | |
download | rails-2d65ff5af7c57f2b66782d40e380a33904d02bce.tar.gz rails-2d65ff5af7c57f2b66782d40e380a33904d02bce.tar.bz2 rails-2d65ff5af7c57f2b66782d40e380a33904d02bce.zip |
removing some warnings
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index a49ed5e7df..ea59d328ea 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -342,8 +342,8 @@ module ActionView options[:html] ||= {} options[:html].reverse_merge!(html_options) - options[:url] ||= options[:format] ? \ - polymorphic_path(object_or_array, :format => options.delete(:format)) : \ + options[:url] ||= options[:format] ? + polymorphic_path(object_or_array, :format => options.delete(:format)) : polymorphic_path(object_or_array) end |