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, options={})
  tag_class = "img-fluid #{options[:class]}"
  options[:class] = tag_class
  image_tag(source, options)
end