Module: Workarea::Storefront::FaviconsHelper
- Defined in:
- app/helpers/workarea/storefront/favicons_helper.rb
Instance Method Summary collapse
- #favicon_path(options = {}) ⇒ Object
-
#favicon_tags ⇒ Object
TODO remove in v3.6.
- #favicons_path(size, options = {}) ⇒ Object
- #favicons_present? ⇒ Boolean
Instance Method Details
#favicon_path(options = {}) ⇒ Object
19 20 21 |
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 19 def favicon_path( = {}) image_url(dynamic_favicon_path()) end |
#favicon_tags ⇒ Object
TODO remove in v3.6
5 |
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 5 def ; end |
#favicons_path(size, options = {}) ⇒ Object
15 16 17 |
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 15 def favicons_path(size, = {}) image_url(dynamic_favicons_path(size, )) end |
#favicons_present? ⇒ Boolean
11 12 13 |
# File 'app/helpers/workarea/storefront/favicons_helper.rb', line 11 def favicons_present? Content::Asset.favicons.count.positive? end |