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,6 +16,8 @@ class Projects::LabelsController < Projects::ApplicationController | ||
16 | redirect_to project_issues_path(@project) | 16 | redirect_to project_issues_path(@project) |
17 | elsif params[:redirect] == 'merge_requests' | 17 | elsif params[:redirect] == 'merge_requests' |
18 | redirect_to project_merge_requests_path(@project) | 18 | redirect_to project_merge_requests_path(@project) |
19 | + else | ||
20 | + redirect_to project_labels_path(@project) | ||
19 | end | 21 | end |
20 | end | 22 | end |
21 | 23 |