1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fixing some double quotes that should be single quotes

This commit is contained in:
Carol Nichols 2012-01-29 22:28:46 -05:00
parent 7ed0f6b5db
commit bc2e0624ae

View file

@ -190,7 +190,7 @@ module ActionDispatch
# Examples: # Examples:
# #
# match 'post/:id' => 'posts#show', :via => :get # match 'post/:id' => 'posts#show', :via => :get
# match 'post/:id' => "posts#create_comment', :via => :post # match 'post/:id' => 'posts#create_comment', :via => :post
# #
# Now, if you POST to <tt>/posts/:id</tt>, it will route to the <tt>create_comment</tt> action. A GET on the same # Now, if you POST to <tt>/posts/:id</tt>, it will route to the <tt>create_comment</tt> action. A GET on the same
# URL will route to the <tt>show</tt> action. # URL will route to the <tt>show</tt> action.
@ -203,7 +203,7 @@ module ActionDispatch
# Examples: # Examples:
# #
# get 'post/:id' => 'posts#show' # get 'post/:id' => 'posts#show'
# post 'post/:id' => "posts#create_comment' # post 'post/:id' => 'posts#create_comment'
# #
# This syntax is less verbose and the intention is more apparent to someone else reading your code, # This syntax is less verbose and the intention is more apparent to someone else reading your code,
# however if your route needs to respond to more than one HTTP method (or all methods) then using the # however if your route needs to respond to more than one HTTP method (or all methods) then using the