Skip to content

Instantly share code, notes, and snippets.

@gouvermxt
Created May 3, 2011 19:59
Show Gist options
  • Save gouvermxt/954101 to your computer and use it in GitHub Desktop.
Save gouvermxt/954101 to your computer and use it in GitHub Desktop.
class Notifier < ActionMailer::Base
#emails omitidos propositalemnte para este gist
default :from => "xxx@xxxxx", :to => "xxx@xxxxx",
:subject => I18n.t("notifier.contact_message.subject")
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
# en.notifier.contact_message.subject
#
def contact_message(contact_message)
@contact_message = contact_message
mail
end
def rtc_pre_registration_message(rtc_client)
@rtc_client = rtc_client
mail
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment