Permalink
Browse files

Tidy up config.ru file.

  • Loading branch information...
1 parent 3d18466 commit e00b483b8dc1ec1953240a7c050691678e3da578 @nelstrom committed Mar 25, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 config.ru
View
7 config.ru
@@ -1,8 +1,7 @@
-require "rubygems"
+require 'rubygems'
require 'rack/rewrite'
-use Rack::Rewrite do
- rewrite '/', '/index.html'
-end
+use Rack::Rewrite { rewrite '/', '/index.html' }
use Rack::Static, :urls => ['/'], :root => "public"
+
run Rack::Directory.new('public')

0 comments on commit e00b483

Please sign in to comment.