fix readme example indentation

This commit is contained in:
Konstantin Haase 2011-02-18 11:10:43 +01:00
parent 2eae9406ff
commit c0e95f7011
1 changed files with 7 additions and 7 deletions

View File

@ -770,13 +770,13 @@ set the body at an arbritary point in the execution flow. You can do so with the
`body` helper method. If you do so, you can use that method from there on to
access the body:
get '/foo' do
body "bar"
end
after do
puts body
end
get '/foo' do
body "bar"
end
after do
puts body
end
It is also possible to pass a block to body, that will be executed by the rack
handler (this can be used to implement streaming, see