mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
clarify what the "they" that are is and what the "are" in question is
This commit is contained in:
parent
d8919d3151
commit
cc9301f459
1 changed files with 2 additions and 1 deletions
|
@ -827,7 +827,8 @@ module ActionDispatch
|
|||
|
||||
alias :member_name :singular
|
||||
|
||||
# Checks for uncountable plurals, and appends "_index" if they're.
|
||||
# Checks for uncountable plurals, and appends "_index" if the plural
|
||||
# and singular form are the same.
|
||||
def collection_name
|
||||
singular == plural ? "#{plural}_index" : plural
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue