diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-23 22:41:11 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-23 22:41:11 +0200 |
commit | 2f4dc1ee16d7196a16a3870ae09f9a0478ab16bc (patch) | |
tree | cf11f6b139f7bdd995b543d752116a8a1db543df /app/helpers/tab_helper.rb | |
parent | 75532a65702cafc890ec83126a8ca948a8683015 (diff) | |
parent | b62f4b69d10c4dc1eb289c6499d748714d235a85 (diff) | |
download | gitlab-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.rb | 2 |
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 |