diff options
author | Justin Woodbridge <jrwoodbridge1@gmail.com> | 2012-02-23 17:31:56 -0500 |
---|---|---|
committer | Justin Woodbridge <jrwoodbridge1@gmail.com> | 2012-02-23 17:31:56 -0500 |
commit | 62b1f1a62d3f534a7841794d9fd434964143f76a (patch) | |
tree | 4cb9d7cb221cb33d085efd67bd15f354dec52e9d /actionpack/lib | |
parent | f75f5d216fb7d0cedb75d3fc3887fe7f99eb241a (diff) | |
download | rails-62b1f1a62d3f534a7841794d9fd434964143f76a.tar.gz rails-62b1f1a62d3f534a7841794d9fd434964143f76a.tar.bz2 rails-62b1f1a62d3f534a7841794d9fd434964143f76a.zip |
Fix typo in match :to docs
Diffstat (limited to 'actionpack/lib')
-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 cf9c0d7b6a..2c61fb7167 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -328,7 +328,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] |