Please sign in to comment.
Fixes for "router" and "routes" terminology
Commit f7ba614 improved the internal consistency of the different means of accessing routes, but it introduced some problems at the level of code comments and user-visible strings. This commit applies fixes on three levels: Firstly, we remove or replace grammatically invalid constructs such as "a routes" or "a particular routes". Secondly, we make sure that we always use "the router DSL" or "the router syntax", because this has always been the official terminology. Finally, we make sure that we only use "routes" when referring to the application-specific set of routes that are defined in the "config/routes.rb" file, we use "router" when referring on a more abstract level to "the code in Rails used to handle routing", and we use "routing" when we need an adjective to apply to nouns such as "url_helpers. Again this is consistent with historical practice and other places in the documentation. Note that this is not a sweep over the entire codebase to ensure consistent usage of language; it is just a revision of the changes introduced in commit f7ba614. Signed-off-by: Wincent Colaiuta <firstname.lastname@example.org> Signed-off-by: José Valim <email@example.com>
- Loading branch information...
Showing with 9 additions and 9 deletions.
- +2 −2 actionmailer/lib/action_mailer/base.rb
- +1 −1 actionpack/lib/action_controller/deprecated/base.rb
- +1 −1 actionpack/lib/action_controller/metal.rb
- +2 −2 actionpack/lib/action_controller/metal/url_for.rb
- +1 −1 actionpack/lib/action_dispatch/routing/deprecated_mapper.rb
- +1 −1 actionpack/lib/action_dispatch/routing/mapper.rb
- +1 −1 actionpack/lib/action_dispatch/routing/route_set.rb