Permalink
Browse files

Fix typo in routing guide.

  • Loading branch information...
1 parent 9655d62 commit af320ef2202feaca376f759968aa4f5d977b0db3 @ffmike ffmike committed Nov 12, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/doc/guides/source/routing_outside_in.txt
@@ -422,7 +422,7 @@ map.resources :photos, :except => :destroy
In this case, all of the normal routes except the route for +destroy+ (a +DELETE+ request to +/photos/_id_+) will be generated.
-In addition to an action or a list of actions, you can also supply the special symbols +:all+ or +:none+ to the +:only+ and +:accept+ options.
+In addition to an action or a list of actions, you can also supply the special symbols +:all+ or +:none+ to the +:only+ and +:except+ options.
TIP: If your application has many RESTful routes, using +:only+ and +:accept+ to generate only the routes that you actually need can cut down on memory use and speed up the routing process.

0 comments on commit af320ef

Please sign in to comment.