summaryrefslogtreecommitdiff
path: root/app/controllers/projects
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-08-24 20:06:16 -0700
committerStan Hu <stanhu@gmail.com>2016-08-25 14:53:17 -0700
commitace38e8397bd4c3eca11e0aafe9a8682ad81bf45 (patch)
treea52a3a05526cad6a80028f271d17e0e785b9d61f /app/controllers/projects
parent501b570dee030ef7124cc001b251769d723d376e (diff)
downloadgitlab-ce-ace38e8397bd4c3eca11e0aafe9a8682ad81bf45.tar.gz
Fix external issue tracker "Issues" link leading to 404sfix-external-issue-tracker-link
a70431f874 modified the behavior to link to the external issue tracker issues URL instead of the project path URL. This restores the previous behavior. Closes #21252, #21402
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb
index 7b0189150f8..7c03dcd2e64 100644
--- a/app/controllers/projects/issues_controller.rb
+++ b/app/controllers/projects/issues_controller.rb
@@ -212,7 +212,7 @@ class Projects::IssuesController < Projects::ApplicationController
if action_name == 'new'
redirect_to external.new_issue_path
else
- redirect_to external.issues_url
+ redirect_to external.project_path
end
end