I have a helper function in which class is shown when a specific controller is open.
Helper:
def cssclass
'class="tab_gen_active3"' if controller_name == "user_brands"
end
I am having difficulty to apply 'else' in which "tab_gen3" css class is activated when controller_name = "user_categories". Any idea how to do this.