Skip to content

Loading…

fixed typo #53

Merged
merged 1 commit into from

2 participants

@lukeholder

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
View
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'
end
Something went wrong with that request. Please try again.