Module: ActiveTracker::ImagesHelper

Defined in:
app/helpers/active_tracker/images_helper.rb

Instance Method Summary collapse

Instance Method Details

#activetracker_inline_svg(image) ⇒ Object



3
4
5
6
# File 'app/helpers/active_tracker/images_helper.rb', line 3

def activetracker_inline_svg(image)
  svg = File.read(ActiveTracker::Engine.root.join('app', 'assets', 'images', image))
  svg.html_safe
end