diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-06 16:21:19 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-06 16:21:19 +0200 |
commit | f509e3afeb47158558e417d700bfc42db5ddd3f5 (patch) | |
tree | 1fce08965016bedbfe99fa09a27bafd94273b3db | |
parent | 697b34d786bcbc9b4fdaef485ff4837b850ca5aa (diff) | |
download | gitlab-ce-f509e3afeb47158558e417d700bfc42db5ddd3f5.tar.gz |
Link ci_status_path to new ci commit pageci-commit-page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/helpers/ci_status_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index 794bdc2530e..dbd1e26fa79 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -1,6 +1,7 @@ module CiStatusHelper def ci_status_path(ci_commit) - ci_project_commits_path(ci_commit.project, ci_commit) + project = ci_commit.gl_project + ci_namespace_project_commit_path(project.namespace, project, ci_commit.sha) end def ci_status_icon(ci_commit) |