Scaffold.css question


#1

Hey,

ruby script/generate scaffold Livres Admin

I configured my layout to link to layout.css .

I want a special CSS file for the admin controller, but I don’t know how
to request it only in the Admin controller and not in the whole website.

Thank you!


#2

weirdmonkey wrote:

Hey,

ruby script/generate scaffold Livres Admin

I configured my layout to link to layout.css .

I want a special CSS file for the admin controller, but I don’t know how
to request it only in the Admin controller and not in the whole website.

Thank you!

you can say
layout ‘css_file’
by default it looks for layout ‘scaffold’


Agnieszka


#3

Hey,

actually right now it only looks for layout.css and ignores scaffold.css
(which i’m am trying to use at the same time)