Module: Vanity::Rails::TrackingImage

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

Instance Method Summary collapse

Instance Method Details

#imageObject


406
407
408
409
# File 'lib/vanity/frameworks/rails.rb', line 406

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