Module: Vanity::Rails::TrackingImage

Defined in:
lib/vanity/frameworks/rails.rb

Instance Method Summary collapse

Instance Method Details

#imageObject



420
421
422
423
# File 'lib/vanity/frameworks/rails.rb', line 420

def image
  # send image
  send_file(File.expand_path("../images/x.gif", File.dirname(__FILE__)), type: 'image/gif', stream: false, disposition: 'inline')
end