diff options
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/routing.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md index 48e6669c9c..e5af6b0f9b 100644 --- a/guides/source/routing.md +++ b/guides/source/routing.md @@ -515,9 +515,7 @@ end This will enable Rails to recognize paths such as `/comments/new/preview` with GET, and route to the `preview` action of `CommentsController`. It will also create the `preview_new_comment_url` and `preview_new_comment_path` route helpers. -#### A Note of Caution - -If you find yourself adding many extra actions to a resourceful route, it's time to stop and ask yourself whether you're disguising the presence of another resource. +TIP: If you find yourself adding many extra actions to a resourceful route, it's time to stop and ask yourself whether you're disguising the presence of another resource. Non-Resourceful Routes ---------------------- |