Commit 674efd38d83d6f805d2ed9637028d195470b309b
1 parent
cc0295b7
Exists in
master
and in
4 other branches
Fix 500 error on services page. Fixed active project tab when on services
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/helpers/tab_helper.rb
| ... | ... | @@ -72,7 +72,7 @@ module TabHelper |
| 72 | 72 | return "active" if current_page?(controller: "projects", action: action, id: @project) |
| 73 | 73 | end |
| 74 | 74 | |
| 75 | - if ['snippets', 'hooks', 'deploy_keys', 'team_members'].include? controller.controller_name | |
| 75 | + if ['snippets', 'services', 'hooks', 'deploy_keys', 'team_members'].include? controller.controller_name | |
| 76 | 76 | "active" |
| 77 | 77 | end |
| 78 | 78 | end | ... | ... |
app/views/services/index.html.haml