Module: Workarea::Storefront::FaviconsHelper

Defined in:
app/helpers/workarea/storefront/favicons_helper.rb

Instance Method Summary collapse

Instance Method Details

#favicon_path(options = {}) ⇒ Object



19
20
21
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 19

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

#favicon_tagsObject

TODO remove in v3.6



5
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 5

def favicon_tags; end

#favicons_path(size, options = {}) ⇒ Object



15
16
17
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 15

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

#favicons_present?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 11

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