summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-05 14:17:40 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-05 14:17:40 +0200
commit674efd38d83d6f805d2ed9637028d195470b309b (patch)
tree5b0defa2cb7cdaff48e5a5a1ccba7918ee81bb87 /app/helpers
parentcc0295b789a89a3f52e83e34b08ddf17b464308a (diff)
downloadgitlab-ce-674efd38d83d6f805d2ed9637028d195470b309b.tar.gz
Fix 500 error on services page. Fixed active project tab when on services
Diffstat (limited to 'app/helpers')
-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 a4bec87caa7..d52d8af6641 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -72,7 +72,7 @@ module TabHelper
return "active" if current_page?(controller: "projects", action: action, id: @project)
end
- if ['snippets', 'hooks', 'deploy_keys', 'team_members'].include? controller.controller_name
+ if ['snippets', 'services', 'hooks', 'deploy_keys', 'team_members'].include? controller.controller_name
"active"
end
end