diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-21 12:15:40 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-21 12:15:40 +0200 |
commit | 630b666c8ff0a04881a694d4ef4723bf7f121a4e (patch) | |
tree | 26ce9e6eeae1597d11f804a1e90419476b313d77 | |
parent | 955b9347a470a9c546bd1777640bfeb6104e3dd6 (diff) | |
download | gitlab-ce-630b666c8ff0a04881a694d4ef4723bf7f121a4e.tar.gz |
Fix project for merge_request environments
-rw-r--r-- | app/views/projects/merge_requests/widget/_heading.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/widget/_heading.html.haml b/app/views/projects/merge_requests/widget/_heading.html.haml index 8b7bd7f728e..8681226ab8b 100644 --- a/app/views/projects/merge_requests/widget/_heading.html.haml +++ b/app/views/projects/merge_requests/widget/_heading.html.haml @@ -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 |