Skip to content

Commit

Permalink
clarify what the "they" that are is and what the "are" in question is
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski committed Jan 27, 2011
1 parent d8919d3 commit cc9301f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actionpack/lib/action_dispatch/routing/mapper.rb
Expand Up @@ -827,7 +827,8 @@ def singular

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
Expand Down

0 comments on commit cc9301f

Please sign in to comment.