diff options
author | Pablo Torres <tn.pablo@gmail.com> | 2012-12-02 16:10:35 -0500 |
---|---|---|
committer | Pablo Torres <tn.pablo@gmail.com> | 2012-12-02 16:57:46 -0500 |
commit | 7d6cb7585d08e1c76c61595f87d071d8a50c12c9 (patch) | |
tree | 910de5ef7643451f21e7528f414b73ed50c0fd78 /guides/source | |
parent | 082f4f98cc82616c3f8d846488fdcb18ee64adf4 (diff) | |
download | rails-7d6cb7585d08e1c76c61595f87d071d8a50c12c9.tar.gz rails-7d6cb7585d08e1c76c61595f87d071d8a50c12c9.tar.bz2 rails-7d6cb7585d08e1c76c61595f87d071d8a50c12c9.zip |
Convert a section to a tip to highlight it [ci skip]
Diffstat (limited to 'guides/source')
-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 ---------------------- |