Commit 23da4cb4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'fix-500-on-labels-page' into 'master'

Fix 500 on labels page
parents 781efd18 4e249dad
...@@ -16,6 +16,8 @@ class Projects::LabelsController < Projects::ApplicationController ...@@ -16,6 +16,8 @@ class Projects::LabelsController < Projects::ApplicationController
redirect_to project_issues_path(@project) redirect_to project_issues_path(@project)
elsif params[:redirect] == 'merge_requests' elsif params[:redirect] == 'merge_requests'
redirect_to project_merge_requests_path(@project) redirect_to project_merge_requests_path(@project)
else
redirect_to project_labels_path(@project)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment