1
0
Fork 0
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:
Matt Jankowski 2011-01-27 12:25:22 -05:00
parent d8919d3151
commit cc9301f459

View file

@ -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