I did the following:
script/generate controller admin/products
In my layout.rhtml template I want to use the admin style sheet. How can
I tell if I am in the admin directory?
controller.controller_name and controller.controller_class_name do not
help at all, they don’t have admin anywhere in them.
Thanks for your help.