app/helpers/application_helper.rb
# Used in V2 to return class for active navigation tabs.
Used in V2 to return class for active navigation tabs.
Used in V2 to return class for active navigation tabs .
def resource_is_active(action)
    return "active" if
        action == "#{controller.controller_name}/#{controller.action_name}" ||
        action == controller.controller_name ||
        action == controller.action_name ||
        action.downcase == controller.class.to_s.downcase
    return nil
  end
def resource_is_active ( action ) return "active" if action == "#{controller.controller_name}/#{controller.action_name}" || action == controller . controller_name || action == controller . action_name || action . downcase == controller . class . to_s . downcase return nil end
Used in V2 to return class for active navigation tabs.
Used in V2 to return class for active navigation tabs .
action
<not_specific>