Dan Paul wrote:
> Hello, first off sorry i am new and a dumbass but I need help with
> this.
> 
> In my view/application file i have some css and I want a certain bit
> of css displayed if a user is in one controller but another type of
> css to be display if they are in another controller.  I made up the
> following which totally doesnt work.

Why not create a layout for each controller? That way you don't need the 
if statements at all, you can just have the layout use whatever layout 
ue specify.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to