diff options
author | Michael Bock <mykel.bock@gmail.com> | 2019-04-25 11:56:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 11:56:56 -0700 |
commit | 74d74496ba4b4fa933c65565c2b0cd353f742c78 (patch) | |
tree | d560d8052c97d7507c57d45588ccb1b85d1cba6e /actionview | |
parent | fb4268401575b5af3d5d2566fd37fc75f34bb93b (diff) | |
download | rails-74d74496ba4b4fa933c65565c2b0cd353f742c78.tar.gz rails-74d74496ba4b4fa933c65565c2b0cd353f742c78.tar.bz2 rails-74d74496ba4b4fa933c65565c2b0cd353f742c78.zip |
Fixes grammar in comments on tag_name and tag_id
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/tags/base.rb | 4 |
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 |