this helps,
BEn
On 3/23/15 6:40 AM, Sebastjan Hribar wrote:
Hi,
I have a problem with serving static files in my app.
I use the code as shown here (
https://github.com/judofyr/camping/wiki/Serving-Static-Files).
I had to remove the @ sign for FILE to make it work.
For now I'm only
Hi,
I have a problem with serving static files in my app.
I use the code as shown here (
https://github.com/judofyr/camping/wiki/Serving-Static-Files).
I had to remove the @ sign for FILE to make it work.
For now I'm only serving one background image:
--
#index_main
[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
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
4 matches
Mail list logo