Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Update rack.rb

#11

Update rack.rb to handle static assets (patch by mariusz):

if prefix = ::Merb::Config[:path_prefix]

use Merb::Rack::PathPrefix, prefix

end

use Merb::Rack::Static, Merb.dir_for(:public)

run Merb::Rack::Application.new

Reported by Jed Hurt · July 1st, 2008 @ 09:30 AM

State: new
Milestone: none
Assigned to: Jed Hurt Jed Hurt

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.