diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb index 0fe94c395ec..563ddd2a511 100644 --- a/app/helpers/tab_helper.rb +++ b/app/helpers/tab_helper.rb @@ -95,7 +95,7 @@ module TabHelper end def project_tab_class - if controller.controller_path =~ /\Aprojects/ + if controller.controller_path.start_with?('projects') return 'active' end