diff --git a/app/views/orgas/_favicon.html.haml b/app/views/orgas/_favicon.html.haml index f00419e1..e0a2dfc9 100644 --- a/app/views/orgas/_favicon.html.haml +++ b/app/views/orgas/_favicon.html.haml @@ -1,2 +1,2 @@ -- if orga.url.match?(/^http/) && !orga.url.match?(/facebook/) +- if orga.url.present? && orga.url.match?(/^http/) && !orga.url.match?(/facebook/) = image_tag orga.url + '/favicon.ico', alt: '', class: :favicon