summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-10 10:02:58 +0000
committerRémy Coutable <remy@rymai.me>2017-08-10 10:02:58 +0000
commit47ac73b0b47e695d7f83924d339fe5075b0cbf56 (patch)
treef22df6866fa04fb8abada2bb41a1c65790fe6ad3
parentf85f272c8756a862bd41bd970fb068e468e29bb6 (diff)
parent0048fbed6fc236c436ae6ff830af039ffa42fa9a (diff)
downloadgitlab-ce-47ac73b0b47e695d7f83924d339fe5075b0cbf56.tar.gz
Merge branch 'remove-unused-redirect_to_external_issue_tracker' into 'master'
Remove unused `redirect_to_external_issue_tracker` method See merge request !13444
-rw-r--r--app/controllers/projects/issues_controller.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb
index e2ccabb22db..f4d4cca8dd8 100644
--- a/app/controllers/projects/issues_controller.rb
+++ b/app/controllers/projects/issues_controller.rb
@@ -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