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
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-11-17 22:33:53 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-11-17 23:31:37 +0300
commit9ed7171a6a8c98858949891b298789a97c4f3fba (patch)
tree31bab0f4222f98d365860c1ed4104bbcbcf58adc /app/helpers
parent43906336ff24e218cb1f7024d63a22367dd7e09a (diff)
Fix builds/show spec; use iid instead of id
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/environment_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/environment_helper.rb b/app/helpers/environment_helper.rb
index ea34bce9367..27975b7ddb7 100644
--- a/app/helpers/environment_helper.rb
+++ b/app/helpers/environment_helper.rb
@@ -17,7 +17,7 @@ module EnvironmentHelper
def deployment_link(deployment)
return unless deployment
- link_to "##{deployment.id}", [deployment.project.namespace.becomes(Namespace), deployment.project, deployment.deployable]
+ link_to "##{deployment.iid}", [deployment.project.namespace.becomes(Namespace), deployment.project, deployment.deployable]
end
def last_deployment_link_for_environment_build(project, build)