diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 343583e7..6ba48c58 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -11,12 +11,12 @@ - <%= favicon_link_tag image_path('favicon.ico'), type: nil, sizes: "48x48" %> - <%= favicon_link_tag image_path('favicon.svg'), type: 'image/svg+xml', sizes: "any" %> - <%= favicon_link_tag image_path('govuk-icon-mask.svg'), rel: 'mask-icon', color: "#0b0c0c", type: nil %> - <%= favicon_link_tag image_path('govuk-icon-180.png'), rel: 'apple-touch-icon', type: nil %> + <%= favicon_link_tag '/favicon.ico', type: nil, sizes: "48x48" %> + <%= favicon_link_tag '/favicon.svg', type: 'image/svg+xml', sizes: "any" %> + <%= favicon_link_tag '/govuk-icon-mask.svg', rel: 'mask-icon', color: "#0b0c0c", type: nil %> + <%= favicon_link_tag '/govuk-icon-180.png', rel: 'apple-touch-icon', type: nil %> - <%= tag :meta, property: 'og:image', content: image_path('govuk-opengraph-image.png') %> + <%= tag :meta, property: 'og:image', content: '/govuk-opengraph-image.png' %> <%= stylesheet_link_tag "main" %> <%= javascript_include_tag "main", defer: true %>