Module: Binco::ImageHelper
- Defined in:
- app/helpers/binco/image_helper.rb
Instance Method Summary collapse
Instance Method Details
#image_fluid(source, options = {}) ⇒ Object
3 4 5 6 7 |
# File 'app/helpers/binco/image_helper.rb', line 3 def image_fluid(source, ={}) tag_class = "img-fluid #{[:class]}" [:class] = tag_class image_tag(source, ) end |