From 7d2fbe6bd880b001857a373500e4fae31d43060a Mon Sep 17 00:00:00 2001 From: Andrew8xx8 Date: Sun, 24 Mar 2013 19:12:28 +0400 Subject: Project Snippets now part of project --- app/helpers/tab_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers/tab_helper.rb') 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" -- cgit v1.2.1