I'm now implementing navigation tabs for my Rails application. I would like to generate different CSS and html for current tab (add id="current" and do not link the title) - basic stuff.
I found the function: current_page? but unfortunately it doesn't work in a way i would expect:
When I call: current_page?(:controller => "bank_account") it returns true for /bank_account but not for /bank_account/soem_action
Is there a way to force current_page? to return true in this case? So when I don't specify the action it should return true for all the actions of the given controller.