summaryrefslogtreecommitdiff
path: root/app/helpers/tab_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-14 19:28:29 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-14 19:28:29 +0200
commit5c4e74acc32f2afefcb8ad3a4cbbcd7122e7f0bf (patch)
tree7084e6202471bc37508d9c8b9e9a2eee024cb058 /app/helpers/tab_helper.rb
parentd2b882fae5dcb9d4072cff9f1d271d378def26c2 (diff)
downloadgitlab-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.rb2
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