Commit 47ac73b0 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'remove-unused-redirect_to_external_issue_tracker' into 'master'

Remove unused `redirect_to_external_issue_tracker` method

See merge request !13444
parents f85f272c 0048fbed
......@@ -257,18 +257,6 @@ class Projects::IssuesController < Projects::ApplicationController
return render_404 unless @project.feature_available?(:issues, current_user)
end
def redirect_to_external_issue_tracker
external = @project.external_issue_tracker
return unless external
if action_name == 'new'
redirect_to external.new_issue_path
else
redirect_to external.issue_tracker_path
end
end
def issue_params
params.require(:issue).permit(*issue_params_attributes)
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