mirror of https://github.com/rails/rails
Fix typo in match :to docs
This commit is contained in:
parent
f75f5d216f
commit
62b1f1a62d
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue