Skip to content


fixed typo #53

merged 1 commit into from

2 participants


no 'do' in redirect example

@rkh rkh merged commit a80f04e into sinatra:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 8, 2011
  1. @lukeholder

    typo. no 'do'

    lukeholder committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/Getting_to_know_Sinatra.markdown
2 book/Getting_to_know_Sinatra.markdown
@@ -113,7 +113,7 @@ routines. For instance there are handlers for [halting][halting] and
There are also handlers for redirection:
- get '/'
+ get '/' do
redirect '/someplace/else'
Something went wrong with that request. Please try again.