aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_helper.rb
diff options
context:
space:
mode:
authorFranco Brusatti <fbrusatti@gmail.com>2011-02-03 19:14:10 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2011-02-03 20:24:14 -0200
commitd3cfee118245a8806436bbf904bbad36dd810012 (patch)
tree0888cd4ca60fac0e2cf7166e3877647bd805f86c /actionpack/lib/action_view/helpers/form_helper.rb
parent23a3ba426067d3d38259ef4e1d234cbb82c8aea2 (diff)
downloadrails-d3cfee118245a8806436bbf904bbad36dd810012.tar.gz
rails-d3cfee118245a8806436bbf904bbad36dd810012.tar.bz2
rails-d3cfee118245a8806436bbf904bbad36dd810012.zip
removing generation of id in submit helper
[#6369 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index d7b9e0b4f4..d6edef0d34 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -1243,7 +1243,7 @@ module ActionView
def submit(value=nil, options={})
value, options = nil, value if value.is_a?(Hash)
value ||= submit_default_value
- @template.submit_tag(value, options.reverse_merge(:id => "#{object_name}_submit"))
+ @template.submit_tag(value, options)
end
def emitted_hidden_id?