Sha256: 713069c494b3848ed9f629d96ff8e15dba91251fcf5e8afb08a387c458d68248

Contents?: true

Size: 602 Bytes

Versions: 34

Compression:

Stored size: 602 Bytes

Contents

module Workarea
  module Storefront
    module FaviconsHelper
      def favicon_tags
        warn <<~eos
          DEPRECATION WARNING: favicons_helper is deprecated, use
          `render 'workarea/storefront/favicons/tags'` directly in the layout
          instead
        eos
      end

      def favicons_present?
        Content::Asset.favicons.count.positive?
      end

      def favicons_path(size, options = {})
        image_url(dynamic_favicons_path(size, options))
      end

      def favicon_path(options = {})
        image_url(dynamic_favicon_path(options))
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-storefront-3.4.25 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.24 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.23 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.22 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.21 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.20 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.19 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.18 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.17 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.16 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.15 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.14 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.13 app/helpers/workarea/storefront/favicons_helper.rb
workarea-storefront-3.4.12 app/helpers/workarea/storefront/favicons_helper.rb