cirandas.net

ref: master

app/mailers/application_mailer.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
class ApplicationMailer < ActionMailer::Base

  include AuthenticatedSystem

  helper ApplicationHelper

  attr_accessor :environment

  def default_url_options options = nil
    options ||= {}
    options[:host] = environment.default_hostname if environment
    options
  end

  def user
    nil
  end

end