Sha256: 9a1f47a55d3d42a90233c24a4eefc9b6ca71d5d9cd92fdecbc3f5d48ab2e8acf
Contents?: true
Size: 420 Bytes
Versions: 21
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true module NeetoCommonsBackend module Helpers class << self include ActionView::Helpers::AssetUrlHelper include ActionView::Helpers::AssetTagHelper def favicon(organization) if organization&.favicon_url&.present? favicon_link_tag organization.favicon_url else favicon_link_tag "/favicon.ico" end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems