diff options
author | Justin Woodbridge <jrwoodbridge1@gmail.com> | 2012-02-23 17:31:56 -0500 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-25 21:54:59 +0530 |
commit | b229bc70e50ec0887c5bb3aaaa9c6ee8af054026 (patch) | |
tree | 28e446980ea17f8d508c3e6d0705a6d8cce87807 | |
parent | e1f799a42f569990c3d9512bafe85898454c10a6 (diff) | |
download | rails-b229bc70e50ec0887c5bb3aaaa9c6ee8af054026.tar.gz rails-b229bc70e50ec0887c5bb3aaaa9c6ee8af054026.tar.bz2 rails-b229bc70e50ec0887c5bb3aaaa9c6ee8af054026.zip |
Fix typo in match :to docs
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 9e59861e01..4c018968bf 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -325,7 +325,7 @@ module ActionDispatch # +call+ or a string representing a controller's action. # # match 'path', :to => 'controller#action' - # match 'path', :to => lambda { [200, {}, "Success!"] } + # match 'path', :to => lambda { |env| [200, {}, "Success!"] } # match 'path', :to => RackApp # # [:on] |