From 1e38ff270acfe8d412aef709e3de37ee4a60a9d1 Mon Sep 17 00:00:00 2001 From: Kriszta Matyi Date: Thu, 7 Dec 2023 13:14:43 -0800 Subject: [PATCH] Fixes Rollbar warning #521: missing logo image ActionController::RoutingError: No route matches [GET] '/images/logo-square.png' --- app/views/layouts/_meta.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_meta.html.haml b/app/views/layouts/_meta.html.haml index d6f0407ec..aa1d134e0 100644 --- a/app/views/layouts/_meta.html.haml +++ b/app/views/layouts/_meta.html.haml @@ -6,7 +6,7 @@ %meta{ property: 'og:locale', content: 'en_GB' } %meta{ property: 'og:site_name', content: 'codebar' } %meta{ name: 'keywords', content: 'codebar, programming, diversity, html, css, javascript, ruby, python' } -%meta{ property: 'og:image', content: 'https://codebar.io/images/logo-square.png' } +%meta{ property: 'og:image', content: image_url('logo-square.png') } %meta{ property: 'og:url', content: "https://codebar.io#{url_for(nil)}" } %meta{ property: 'og:title', content: 'codebar' } %meta{ property: 'og:description', content: 'Making tech more diverse and welcoming by bringing people together and helping teach programming skills.' }