aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2010-04-04 17:34:13 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2010-04-04 17:34:13 +0100
commit48b2451142355b22de5f8130b3debdd4e53e2ba2 (patch)
treeee3b1bcf44803333799873385c5f246efef06128 /actionpack/lib/action_dispatch
parent824fa10f4d1306cc1e310a7d5de7e95cfb07d6f8 (diff)
downloadrails-48b2451142355b22de5f8130b3debdd4e53e2ba2.tar.gz
rails-48b2451142355b22de5f8130b3debdd4e53e2ba2.tar.bz2
rails-48b2451142355b22de5f8130b3debdd4e53e2ba2.zip
Update various documentation examples to use new routing DSL
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/routing/url_for.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/url_for.rb b/actionpack/lib/action_dispatch/routing/url_for.rb
index dd86aa3e87..fb236dce53 100644
--- a/actionpack/lib/action_dispatch/routing/url_for.rb
+++ b/actionpack/lib/action_dispatch/routing/url_for.rb
@@ -63,7 +63,7 @@ module ActionDispatch
# named routes. For example, suppose that you have a 'users' resource in your
# <b>routes.rb</b>:
#
- # map.resources :users
+ # resources :users
#
# This generates, among other things, the method <tt>users_path</tt>. By default,
# this method is accessible from your controllers, views and mailers. If you need