I would like to use controller-specific stylesheets instead of the usual
application.css. So, if a page were rendered by controller Foo it
would include only the stylesheet whose source is
I am using Rails 4.0.x.
I tried replacing
in the default layout as suggested by the assets guide  but is not
producing the expected effects.
The first statement returns
<link href="/assets/application.css?body=1" …
while the second returns
<link href="/stylesheets/foo.css" …
How can I make my controller-specific stylesheet go through the assets
Gioele B. [email protected]