Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-06 21:36:22 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-06 21:36:22 +0300
commit27b75b2b2d9c274fca005949f645d97ce9333d71 (patch)
tree39f0d2af7098758bb89e8c1bb2e7584ec734eb87 /app
parent04c7dc2a9e2385ce47a70205eafd4cf4f91a0bba (diff)
Refactor commit/build tests and fix CI cancel
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/controllers/ci/commits_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/ci/commits_controller.rb b/app/controllers/ci/commits_controller.rb
index 404e0e4b412..7e6705c9702 100644
--- a/app/controllers/ci/commits_controller.rb
+++ b/app/controllers/ci/commits_controller.rb
@@ -16,7 +16,7 @@ module Ci
def cancel
commit.builds.running_or_pending.each(&:cancel)
- redirect_to ci_project_commits_path(project, commit.sha)
+ redirect_to namespace_project_commit_path(commit.gl_project.namespace, commit.gl_project, commit.sha)
end
private