Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-16 17:21:20 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-16 18:07:06 +0400
commit95bd93fe1aad3efbe2c8cc7b255a98ddb27d2d35 (patch)
treed335b1dd18641df977eb28d8219fcf7984ed9c5e /app/helpers/tab_helper.rb
parent8cfb197dfcad3aa0c11f7afd34e4c7bfef953d1d (diff)
Remove Projects#team action
Uses TeamMembers#index instead, to be more RESTful
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 1740864bbb2..b5d7ccb7d3c 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -8,7 +8,7 @@ module TabHelper
end
def project_tab_class
- [:show, :files, :team, :edit, :update].each do |action|
+ [:show, :files, :edit, :update].each do |action|
return "current" if current_page?(controller: "projects", action: action, id: @project)
end