aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-04-25 22:11:17 -0400
committerGitHub <noreply@github.com>2019-04-25 22:11:17 -0400
commitbbc3704bb38d9739d46d94d12a2a854f47b52cbe (patch)
tree4b453a7157a451b2b6e0b6c89531f1bc3a347e4f /actionview
parentc1533562a273a4f096f57956c12d6cc8614b22bd (diff)
parent74d74496ba4b4fa933c65565c2b0cd353f742c78 (diff)
downloadrails-bbc3704bb38d9739d46d94d12a2a854f47b52cbe.tar.gz
rails-bbc3704bb38d9739d46d94d12a2a854f47b52cbe.tar.bz2
rails-bbc3704bb38d9739d46d94d12a2a854f47b52cbe.zip
Merge pull request #36098 from michaelrbock/patch-1
Fixes grammar in comments on tag_name and tag_id
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/tags/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/tags/base.rb b/actionview/lib/action_view/helpers/tags/base.rb
index b58e1a6680..39c01f3334 100644
--- a/actionview/lib/action_view/helpers/tags/base.rb
+++ b/actionview/lib/action_view/helpers/tags/base.rb
@@ -106,7 +106,7 @@ module ActionView
end
def tag_name(multiple = false, index = nil)
- # a little duplication to construct less strings
+ # a little duplication to construct fewer strings
case
when @object_name.empty?
"#{sanitized_method_name}#{multiple ? "[]" : ""}"
@@ -118,7 +118,7 @@ module ActionView
end
def tag_id(index = nil)
- # a little duplication to construct less strings
+ # a little duplication to construct fewer strings
case
when @object_name.empty?
sanitized_method_name.dup