From 7d6cb7585d08e1c76c61595f87d071d8a50c12c9 Mon Sep 17 00:00:00 2001 From: Pablo Torres Date: Sun, 2 Dec 2012 16:10:35 -0500 Subject: Convert a section to a tip to highlight it [ci skip] --- guides/source/routing.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'guides/source/routing.md') 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 ---------------------- -- cgit v1.2.3