diff options
author | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-10 10:27:27 +0300 |
---|---|---|
committer | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-10 10:27:27 +0300 |
commit | 0048fbed6fc236c436ae6ff830af039ffa42fa9a (patch) | |
tree | 2a95cb2dc3a4f8179be1c6d526077cadcd8515c9 /app/controllers/projects/issues_controller.rb | |
parent | 2925850ceec3ef89eb1f60b0a648dbc5f72d8683 (diff) |
Remove unused `redirect_to_external_issue_tracker` method
Its usage has been removed at 2fa22a0729.
Diffstat (limited to 'app/controllers/projects/issues_controller.rb')
-rw-r--r-- | app/controllers/projects/issues_controller.rb | 12 |
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 |