aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2008-11-12 10:45:29 -0600
committerMike Gunderloy <MikeG1@larkfarm.com>2008-11-12 10:45:29 -0600
commitaf320ef2202feaca376f759968aa4f5d977b0db3 (patch)
tree8194729cceef6400e6ed6a6946beebb36a9e6550 /railties
parent9655d6205f8a1cfe99114ad26b490f3e59028da6 (diff)
downloadrails-af320ef2202feaca376f759968aa4f5d977b0db3.tar.gz
rails-af320ef2202feaca376f759968aa4f5d977b0db3.tar.bz2
rails-af320ef2202feaca376f759968aa4f5d977b0db3.zip
Fix typo in routing guide.
Diffstat (limited to 'railties')
-rw-r--r--railties/doc/guides/source/routing_outside_in.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/routing_outside_in.txt b/railties/doc/guides/source/routing_outside_in.txt
index 1870ceff3e..0f6cd358e2 100644
--- a/railties/doc/guides/source/routing_outside_in.txt
+++ b/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.