Sha256: 2c50b98bb38756615a6bae3bbfce665da278a48f1d8fe996be289ab355fb5f1c
Contents?: true
Size: 516 Bytes
Versions: 12
Compression:
Stored size: 516 Bytes
Contents
class VanityMailer < ActionMailer::Base include Vanity::Rails::Helpers include ActionView::Helpers::AssetTagHelper include ActionView::Helpers::TagHelper def ab_test_subject(user) use_vanity_mailer user mail :subject =>ab_test(:pie_or_cake).to_s, :body => "" end def ab_test_content(user) use_vanity_mailer user mail do |format| format.html { render :text=>view_context.vanity_tracking_image(Vanity.context.vanity_identity, :open, :host => "127.0.0.1:3000") } end end end
Version data entries
12 entries across 12 versions & 1 rubygems