summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/environments/components/_commit.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/environments/components/_commit.html.haml b/app/views/projects/environments/components/_commit.html.haml
index b10a2e483ba..cbf76960ac4 100644
--- a/app/views/projects/environments/components/_commit.html.haml
+++ b/app/views/projects/environments/components/_commit.html.haml
@@ -8,8 +8,7 @@
.icon-container{ "v-if" => "!model.last_deployment.tag" }
=icon("code-fork")
- %a.monospace.branch-name{":href" => ""}
- -# need commits branch name url
+ %a.monospace.branch-name{":href" => "'/' + model.project.namespace.name + '/' + model.project.name + '/commits/' +model.last_deployment.ref"}
{{model.last_deployment.ref}}
.icon-container.commit-icon