aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing.rb
diff options
context:
space:
mode:
authorSteven Hancock <stevenh512@gmail.com>2010-07-11 23:57:26 -0700
committerSteven Hancock <stevenh512@gmail.com>2010-07-11 23:57:26 -0700
commit1a35b6215fe4fb1630e2a635789038c5e6e56c63 (patch)
tree6b3c9a8cc1f564c12f7e35e1eaec0385a7d92ade /actionpack/lib/action_dispatch/routing.rb
parentc81e476d6d4cb88e7e29d6e18bb3e5acce92fb8f (diff)
downloadrails-1a35b6215fe4fb1630e2a635789038c5e6e56c63.tar.gz
rails-1a35b6215fe4fb1630e2a635789038c5e6e56c63.tar.bz2
rails-1a35b6215fe4fb1630e2a635789038c5e6e56c63.zip
Removed deprecated |map| block argument from routing docs since it is no longer generated in edge Rails config/routes.rb
Didn't touch plugins guide since I'm not too clear on how routes work in plugins.
Diffstat (limited to 'actionpack/lib/action_dispatch/routing.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb
index c664fb0bc2..da62b14f9b 100644
--- a/actionpack/lib/action_dispatch/routing.rb
+++ b/actionpack/lib/action_dispatch/routing.rb
@@ -31,7 +31,7 @@ module ActionDispatch
# Think of creating routes as drawing a map for your requests. The map tells
# them where to go based on some predefined pattern:
#
- # AppName::Application.routes.draw do |map|
+ # AppName::Application.routes.draw do
# Pattern 1 tells some request to go to one place
# Pattern 2 tell them to go to another
# ...