Module: Vanity::Rails::TrackingImage

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

Instance Method Summary collapse

Instance Method Details

#imageObject


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

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