1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

fix inaccurate comment in README

This commit is contained in:
scottj97 2009-05-20 10:56:58 -07:00 committed by Ryan Tomayko
parent 6d76fb6104
commit ce0fe87af3

View file

@ -45,7 +45,7 @@ Route patterns may include named parameters, accessible via the
<tt>params</tt> hash:
get '/hello/:name' do
# matches "GET /foo" and "GET /bar"
# matches "GET /hello/foo" and "GET /hello/bar"
# params[:name] is 'foo' or 'bar'
"Hello #{params[:name]}!"
end