Permalink
Browse files

Use ruhoh 0.2.0 Ruhoh::Program.preview to provide rackup config

  • Loading branch information...
1 parent 30a57a8 commit 37a82db3fbb57af7744b3ffd3e9dc60ffe0e196d @plusjade plusjade committed May 4, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 config.ru
View
@@ -1,9 +1,3 @@
require 'rack'
require 'ruhoh'
-
-Ruhoh.setup
-
-use Rack::Lint
-use Rack::ShowExceptions
-use Rack::Static, {:urls => ["/#{Ruhoh.folders.media}", "/#{Ruhoh.folders.templates}"]}
-run Ruhoh::Previewer.new
+run Ruhoh::Program.preview

0 comments on commit 37a82db

Please sign in to comment.