Hello, first off sorry i am new and a dumbass but I need help with
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.
<% if :controller => ‘pages’, :action => ‘index’ , :action => ‘about’
<% else %> <div id='other'></div> <% end %>
If you know of a way to make this work so that certain css is
displayed when a user is on the home page and about page, but then the
css changes when they are on any other page I would greatly appreciate
Thanks in advance.