summaryrefslogtreecommitdiff
path: root/app/helpers/tab_helper.rb
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-24 19:12:28 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-24 19:12:28 +0400
commit7d2fbe6bd880b001857a373500e4fae31d43060a (patch)
treedc4789ae249951407ad349ab8a3ceacfcf0e866c /app/helpers/tab_helper.rb
parent617239000762a01c57b35cbb699f155622ae921a (diff)
downloadgitlab-ce-7d2fbe6bd880b001857a373500e4fae31d43060a.tar.gz
Project Snippets now part of project
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 d2be4b1a7e6..19aba0f5f6d 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -73,7 +73,7 @@ module TabHelper
end
def project_tab_class
- return "active" if current_page?(controller: "projects", action: :edit, id: @project)
+ return "active" if current_page?(controller: "/projects", action: :edit, id: @project)
if ['services', 'hooks', 'deploy_keys', 'team_members'].include? controller.controller_name
"active"