#11 new
Jed Hurt

Update rack.rb

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

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

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

use Merb::Rack::PathPrefix, prefix


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

run Merb::Rack::Application.new

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A no-frills wiki powered by Merb and DataMapper.

People watching this ticket