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! -- Posted via http://www.ruby-forum.com/.
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 -- Posted via http://www.ruby-forum.com/.