summaryrefslogtreecommitdiff
path: root/app/helpers/tab_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-23 22:41:11 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-23 22:41:11 +0200
commit2f4dc1ee16d7196a16a3870ae09f9a0478ab16bc (patch)
treecf11f6b139f7bdd995b543d752116a8a1db543df /app/helpers/tab_helper.rb
parent75532a65702cafc890ec83126a8ca948a8683015 (diff)
parentb62f4b69d10c4dc1eb289c6499d748714d235a85 (diff)
downloadgitlab-ce-2f4dc1ee16d7196a16a3870ae09f9a0478ab16bc.tar.gz
Merge branch 'master' into project-navigation-redesign
Diffstat (limited to 'app/helpers/tab_helper.rb')
-rw-r--r--app/helpers/tab_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb
index 9f639d3461d..0fe94c395ec 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -114,7 +114,7 @@ module TabHelper
end
def profile_tab_class
- if controller.controller_path =~ /\Aprofiles/
+ if controller.controller_path.start_with?('profiles')
return 'active'
end