Permalink
Browse files

Serve static resources via Rack::Static.

  • Loading branch information...
1 parent 899eba0 commit e901f608992ccf09ca1a351e80933e498f3955e4 @alexmchale alexmchale committed Mar 8, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 config.ru
View
@@ -1,3 +1,5 @@
require "try-redis.rb"
+use Rack::Static, :urls => %w( /css /images /javascripts ), :root => "public"
+
run TryRedis

0 comments on commit e901f60

Please sign in to comment.