From c399e80e04e0f62766c20e39195cae9a0d48ab8f Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Wed, 22 Oct 2008 21:47:16 +0530 Subject: Fix icons --- railties/doc/guides/html/routing_outside_in.html | 34 ++++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'railties/doc/guides/html/routing_outside_in.html') diff --git a/railties/doc/guides/html/routing_outside_in.html b/railties/doc/guides/html/routing_outside_in.html index efa14d5ad8..ca8958eef9 100644 --- a/railties/doc/guides/html/routing_outside_in.html +++ b/railties/doc/guides/html/routing_outside_in.html @@ -372,7 +372,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note Patient needs to be declared as a resource for this style of translation via a named route to be available.
@@ -647,7 +647,7 @@ cellspacing="0" cellpadding="4">
-Tip +Tip If you consistently use RESTful routes in your application, you should disable the default routes in routes.rb so that Rails will enforce the mapping between HTTP verbs and routes.
@@ -679,7 +679,7 @@ cellspacing="0" cellpadding="4">
-Note +Note Because routing makes use of the HTTP verb as well as the path in the request to dispatch requests, the seven routes generated by a RESTful routing entry only give rise to four pairs of helpers.
@@ -859,7 +859,7 @@ cellspacing="0" cellpadding="4">
-Note +Note Even though the name of the resource is singular in routes.rb, the matching controller is still plural.
@@ -1091,7 +1091,7 @@ cellspacing="0" cellpadding="4">
-Note +Note The helpers will be generated with the name of the resource, not the name of the controller. So in this case, you'd still get photos_path, new_photo_path, and so on.
@@ -1109,7 +1109,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip If you want to guarantee that a link goes to a top-level controller, use a preceding slash to anchor the controller name: <%= link_to "show", {:controller ⇒ "/photos", :action ⇒ "show"} %>
@@ -1145,7 +1145,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip Depending on the other code in your application, you may prefer to add additional rules to the Inflector class instead.
@@ -1326,7 +1326,7 @@ cellspacing="0" cellpadding="4">
-Note +Note The helpers will be generated with the name of the resource, not the path name. So in this case, you'd still get photos_path, new_photo_path, and so on.
@@ -1349,7 +1349,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note The actual action names aren't changed by this option; the two URLs show would still route to the new and edit actions.
@@ -1357,7 +1357,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip If you find yourself wanting to change this option uniformly for all of your routes, you can set a default in your environment:
@@ -1387,7 +1387,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note In most cases, it's simpler to recognize URLs of this sort by creating nested resources, as discussed in the next section.
@@ -1395,7 +1395,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note You can also use :path_prefix with non-RESTful routes.
@@ -1414,7 +1414,7 @@ map.resources :
-Note +Note You can also use :name_prefix with non-RESTful routes.
@@ -1808,7 +1808,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip If you want to redefine the verbs accepted by one of the standard actions, you can do so by explicitly mapping that action. For example:
@@ -2001,7 +2001,7 @@ map.connect ':c
-Note +Note The default routes will make every action of every controller in your application accessible to GET requests. If you've designed your application to make consistent use of RESTful and named routes, you should comment out the default routes to prevent access to your controllers through the wrong verbs. If you've had the default routes enabled during development, though, you need to be sure that you haven't unwittingly depended on them somewhere in your application - otherwise you may find mysterious failures when you disable them.
@@ -2042,7 +2042,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip If the empty route does not seem to be working in your application, make sure that you have deleted the file public/index.html from your Rails tree.
@@ -2086,7 +2086,7 @@ formatted_users GET /users.:format {:controller=>"users", :action=>"inde
-Tip +Tip You'll find that the output from rake routes is much more readable if you widen your terminal window until the output lines don't wrap.
-- cgit v1.2.3