diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-14 19:28:29 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-14 19:28:29 +0200 |
commit | 5c4e74acc32f2afefcb8ad3a4cbbcd7122e7f0bf (patch) | |
tree | 7084e6202471bc37508d9c8b9e9a2eee024cb058 /app/helpers/tab_helper.rb | |
parent | d2b882fae5dcb9d4072cff9f1d271d378def26c2 (diff) | |
download | gitlab-ce-5c4e74acc32f2afefcb8ad3a4cbbcd7122e7f0bf.tar.gz |
Add settings tab to project. Move all project administration there
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 5bd6de896ee..063a210cb2c 100644 --- a/app/helpers/tab_helper.rb +++ b/app/helpers/tab_helper.rb @@ -73,7 +73,7 @@ module TabHelper end def project_tab_class - [:show, :files, :edit, :update].each do |action| + [:files, :edit].each do |action| return "active" if current_page?(controller: "projects", action: action, id: @project) end |