diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-06-27 11:09:00 -0700 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-06-27 11:09:00 -0700 |
commit | 4f1a7dc9567af6aea6f6f53177d4a9e61b6dd3c5 (patch) | |
tree | f5abdb8560b84b871ffb3a8bac937cf17ee52d0e /actionview | |
parent | 90f00142e6ff6a674f89c51a6784309b24b246bf (diff) | |
parent | 2137f8842bdb14306fa635845e91ad4a5428cbb0 (diff) | |
download | rails-4f1a7dc9567af6aea6f6f53177d4a9e61b6dd3c5.tar.gz rails-4f1a7dc9567af6aea6f6f53177d4a9e61b6dd3c5.tar.bz2 rails-4f1a7dc9567af6aea6f6f53177d4a9e61b6dd3c5.zip |
Merge pull request #11141 from keydunov/master
Fix documentation for grouped_collection_select
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/form_options_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_options_helper.rb b/actionview/lib/action_view/helpers/form_options_helper.rb index 21f892f443..ab5aae9b13 100644 --- a/actionview/lib/action_view/helpers/form_options_helper.rb +++ b/actionview/lib/action_view/helpers/form_options_helper.rb @@ -783,7 +783,7 @@ module ActionView # Wraps ActionView::Helpers::FormOptionsHelper#grouped_collection_select for form builders: # # <%= form_for @city do |f| %> - # <%= f.grouped_collection_select :country_id, :country_id, @continents, :countries, :name, :id, :name %> + # <%= f.grouped_collection_select :country_id, @continents, :countries, :name, :id, :name %> # <%= f.submit %> # <% end %> # |