Serving static files within a single app

2012-04-15 Thread Philippe Monnet
[First of all I am breaking off the topic about serving static files from the Camping's URL mapping system thread as it is becoming too hard to follow multiple topics] One solution I have been using for a while is based on the following post (back in 2007): Serving static files in Camping,

Re: Serving static files within a single app

2012-04-15 Thread Bartosz DziewoƄski
Camping.goes :App module App use Rack::Static, :urls = ['/static'] end -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list