aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2015-05-19 23:27:42 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2015-05-19 23:27:56 -0300
commitdf93b4d1138ef6a435803170182bcb7819deeb02 (patch)
tree42bfd8c7b231d5be66915c1b25e2c070ee2ef57d /actionview/lib/action_view
parente6f9468e221999e5ea8342f8e72578e1f0a0ec09 (diff)
downloadrails-df93b4d1138ef6a435803170182bcb7819deeb02.tar.gz
rails-df93b4d1138ef6a435803170182bcb7819deeb02.tar.bz2
rails-df93b4d1138ef6a435803170182bcb7819deeb02.zip
Fix docs markup for option_groups_from_collection_for_select [ci skip]
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r--actionview/lib/action_view/helpers/form_options_helper.rb2
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 38fee3b314..d3deee0df3 100644
--- a/actionview/lib/action_view/helpers/form_options_helper.rb
+++ b/actionview/lib/action_view/helpers/form_options_helper.rb
@@ -410,7 +410,7 @@ module ActionView
# * +collection+ - An array of objects representing the <tt><optgroup></tt> tags.
# * +group_method+ - The name of a method which, when called on a member of +collection+, returns an
# array of child objects representing the <tt><option></tt> tags.
- # * group_label_method+ - The name of a method which, when called on a member of +collection+, returns a
+ # * +group_label_method+ - The name of a method which, when called on a member of +collection+, returns a
# string to be used as the +label+ attribute for its <tt><optgroup></tt> tag.
# * +option_key_method+ - The name of a method which, when called on a child object of a member of
# +collection+, returns a value to be used as the +value+ attribute for its <tt><option></tt> tag.