Module: FaviconsHelper
- Defined in:
- app/helpers/favicons_helper.rb
Instance Method Summary collapse
Instance Method Details
#all_the_favicons ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'app/helpers/favicons_helper.rb', line 2 def all_the_favicons icons = apple_favicons + standard_favicons + [ tag(:link, rel: "manifest", href: favicons_webmanifest_path), pinned_tab_favicon, tag(:meta, name: "msapplication-TileColor", content: AllTheFavicons.ms_tile_color), tile_image_favicon, tag(:meta, name: "theme-color", content: AllTheFavicons.theme_color) ] safe_join(icons.compact, "\n") end |