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
1 changed files with 2 additions and 3 deletions

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