diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-24 16:07:37 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-27 11:19:23 -0300 |
commit | e7c833fca9c18807245bf1a75cbb212a626e278c (patch) | |
tree | 6f3515f46d81670c325569826a05ac93f00f628f /actionpack/lib/action_view/helpers | |
parent | 74d7664b607a7ca2770c937a832b3339d7bf8203 (diff) | |
download | rails-e7c833fca9c18807245bf1a75cbb212a626e278c.tar.gz rails-e7c833fca9c18807245bf1a75cbb212a626e278c.tar.bz2 rails-e7c833fca9c18807245bf1a75cbb212a626e278c.zip |
Define @emitted_hidden_id if it doesn't exists and reuse it if it does.
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 2 |
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 3ebc6601e5..8bae6d2796 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -1237,7 +1237,7 @@ module ActionView end def emitted_hidden_id? - @emitted_hidden_id + @emitted_hidden_id ||= nil end private |