Module: Candies::Helper

Defined in:
lib/candies/helper.rb

Instance Method Summary collapse

Instance Method Details

#candies_image_tag(args) ⇒ Object



3
4
5
# File 'lib/candies/helper.rb', line 3

def candies_image_tag(args)
  image_tag("#{Candies.url}/#{args.fetch(:tracker) {|t| "t"}}.gif?#{args.to_query}", :alt => "", :width => 1, :height => 1) if Candies.url
end