diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-12-11 01:50:21 -0200 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-16 01:49:28 +0530 |
commit | edf5b57451796ba40a330748aa7f4c77048b564f (patch) | |
tree | a673349f4d783f59dfa137d27fd0e5487991154c /railties/guides/source/routing.textile | |
parent | ad47b7bcc11aae7745b39354292b089ae18a8cfc (diff) | |
download | rails-edf5b57451796ba40a330748aa7f4c77048b564f.tar.gz rails-edf5b57451796ba40a330748aa7f4c77048b564f.tar.bz2 rails-edf5b57451796ba40a330748aa7f4c77048b564f.zip |
Add named helper output to translated paths example
Diffstat (limited to 'railties/guides/source/routing.textile')
-rw-r--r-- | railties/guides/source/routing.textile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile index 74dee60c32..a51f7475ea 100644 --- a/railties/guides/source/routing.textile +++ b/railties/guides/source/routing.textile @@ -745,14 +745,14 @@ end Rails now creates routes to the +CategoriesController+. -|_.HTTP verb|_.Path |_.action | -|GET |/kategorien |index | -|GET |/kategorien/neu |new | -|POST |/kategorien |create | -|GET |/kategorien/1 |show | -|GET |/kategorien/:id/bearbeiten |edit | -|PUT |/kategorien/1 |update | -|DELETE |/kategorien/1 |destroy | +|_.HTTP verb|_.Path |_.action | .named helper | +|GET |/kategorien |index | categories_path | +|GET |/kategorien/neu |new | new_category_path | +|POST |/kategorien |create | categories_path | +|GET |/kategorien/1 |show | category_path | +|GET |/kategorien/:id/bearbeiten |edit | edit_category_path | +|PUT |/kategorien/1 |update | category_path | +|DELETE |/kategorien/1 |destroy | category_path | h4. Overriding the Singular Form |