Permalink
Browse files

unmatched routes should just render the index

  • Loading branch information...
1 parent 3eaf655 commit adcbe8d64976d46b3daf0370e2dc2291e1656207 @geelen committed Jun 4, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/server.rb
View
@@ -6,10 +6,10 @@
set :haml, format: :html5
set :views, File.dirname(__FILE__)
-get '/' do
- haml :index
-end
-
get '/application.js' do
coffee :application
end
+
+get '*' do
+ haml :index
+end

0 comments on commit adcbe8d

Please sign in to comment.