sstephenson/sprockets — Issue #227: Sprockets 2.0.2: Cannot use stylesheets from public
Author: phuongnd08
Created: 2011-10-16 10:54:00+00:00
State: open

Rails 3.1:
I want to use a jquery theme, and after struggling for a while, I find the best place to put it inside public folder and call
stylesheet_link_tag "/stylesheets/ui-lightness/jquery-ui-1.8.16.custom.css"
from my view. This works fine with sprockets 2.0.0 but failed on 2.0.2 due to FileOutsidePaths error.
I don't know whether it is a feature or a bug (since I just looked at this commit e7dc9b9c8fbd54b8f341996019486776171fa13d, josh is deliberately raising this exception), but really need a way to include stylesheet from public folder.