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
end
use Merb::Rack::Static, Merb.dir_for(:public)
run Merb::Rack::Application.new
Comments and changes to this ticket
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
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.
