Enable static favicon URL for use in external systems

This commit is contained in:
Sebastian Serth
2021-02-17 10:51:06 +01:00
parent e64c9ed487
commit 4022c5268f
3 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ html lang="#{I18n.locale || I18n.default_locale}"
= render('breadcrumbs_and_title') = render('breadcrumbs_and_title')
title title
= yield(:title) = yield(:title)
link href=asset_path('favicon.png') rel='icon' type='image/png' = favicon_link_tag('/favicon.png', type: 'image/png')
= favicon_link_tag('/favicon.png', rel: 'apple-touch-icon', type: 'image/png')
= action_cable_meta_tag = action_cable_meta_tag
= stylesheet_pack_tag('application', media: 'all', 'data-turbolinks-track': true) = stylesheet_pack_tag('application', media: 'all', 'data-turbolinks-track': true)
= stylesheet_pack_tag('stylesheets', media: 'all', 'data-turbolinks-track': true) = stylesheet_pack_tag('stylesheets', media: 'all', 'data-turbolinks-track': true)

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB