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

Stick to single quote; kill a blank line

This commit is contained in:
Simon Rozet 2009-12-23 03:13:35 +01:00
parent 2624423bdf
commit 6c9488e22a

View file

@ -203,7 +203,6 @@ and overridden on an individual basis.
sass :stylesheet, :style => :expanded # overridden
end
=== Inline Templates
get '/' do
@ -346,11 +345,11 @@ A route can punt processing to the next matching route using <tt>pass</tt>:
get '/guess/:who' do
pass unless params[:who] == 'Frank'
"You got me!"
'You got me!'
end
get '/guess/*' do
"You missed!"
'You missed!'
end
The route block is immediately exited and control continues with the next