On 09.01.2009, at 13:51, Roy Wright wrote:
> Any idea how I should configure the router to handle public/images/*? It does not have to. Rack middleware should handle it in dev environment. In your config/rack.rb you should have something like this: # use PathPrefix Middleware if :path_prefix is set in Merb::Config if prefix = ::Merb::Config[:path_prefix] use Merb::Rack::PathPrefix, prefix end # comment this out if you are running merb behind a load balancer # that serves static files use Merb::Rack::Static, Merb.dir_for(:public) run Merb::Rack::Application.new MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
