Module: Facades::Helpers::Frontend
- Defined in:
- lib/facades/helpers/frontend.rb
Overview
Misc helpers for front-end development.
Defined Under Namespace
Classes: ImageCache
Instance Method Summary collapse
Instance Method Details
#placeholder_image(*args) ⇒ Object
10 11 12 13 14 |
# File 'lib/facades/helpers/frontend.rb', line 10 def placeholder_image(*args) @_placeholder_image_cache ||= ImageCache.new = args. image_tag(@_placeholder_image_cache.get(args), ) end |