Commit 630b666c authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix project for merge_request environments

parent 955b9347
......@@ -51,7 +51,7 @@
%span.hidden-sm
Deployed to
= succeed '.' do
= link_to environment.name, namespace_project_environment_path(@project.namespace, @project, environment), class: 'environment'
= link_to environment.name, namespace_project_environment_path(environment.project.namespace, environment.project, environment), class: 'environment'
- external_url = environment.external_url
- if external_url
= link_to external_url, target: '_blank' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment