Commit 23da4cb4f9dd00b33e4973cf297cbbc247cf0e68
Exists in
spb-stable
and in
2 other branches
Merge branch 'fix-500-on-labels-page' into 'master'
Fix 500 on labels page
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/controllers/projects/labels_controller.rb
... | ... | @@ -16,6 +16,8 @@ class Projects::LabelsController < Projects::ApplicationController |
16 | 16 | redirect_to project_issues_path(@project) |
17 | 17 | elsif params[:redirect] == 'merge_requests' |
18 | 18 | redirect_to project_merge_requests_path(@project) |
19 | + else | |
20 | + redirect_to project_labels_path(@project) | |
19 | 21 | end |
20 | 22 | end |
21 | 23 | ... | ... |