diff options
Diffstat (limited to 'app/helpers/environment_helper.rb')
-rw-r--r-- | app/helpers/environment_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/environment_helper.rb b/app/helpers/environment_helper.rb index 8140ee97291..6e9379a5926 100644 --- a/app/helpers/environment_helper.rb +++ b/app/helpers/environment_helper.rb @@ -62,7 +62,7 @@ module EnvironmentHelper klass = "ci-status ci-#{status.dasherize} #{ci_icon_utilities}" text = "#{ci_icon_for_status(status)} <span class=\"gl-ml-2\">#{status_text}</span>".html_safe - if deployment.deployable + if deployment.deployable.instance_of?(::Ci::Build) link_to(text, deployment_path(deployment), class: klass) else content_tag(:span, text, class: klass) |