Scaffold.css question

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!

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

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)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs