mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix typo in match :to docs
This commit is contained in:
committed by
Vijay Dev
parent
e1f799a42f
commit
b229bc70e5
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user