Permalink
Browse files

Redirects to home.

  • Loading branch information...
1 parent 0aaa2b3 commit cecec6fcd321a8bc48ada85d90768e2a01fc4dde @treeder treeder committed Dec 7, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 hello.rb
View
@@ -2,4 +2,8 @@
get '/' do
"Hello from Sinatra on Heroku!"
-end
+end
+
+get '*' do
+ redirect '/'
+end

0 comments on commit cecec6f

Please sign in to comment.