X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f7aee769411a893c1059c529a220c0d25c72974f..04f827dd4647f3a7d6e5bd8f5e9083c730a8dccc:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 22cfe50..dcc9fad 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -50,6 +50,8 @@ end # inflect.uncountable %w( fish sheep ) # end +MAIL_CONFIG = { :from => 'VotingBooth '} + # Include your application configuration below require 'uniq_token' require 'randarray' @@ -57,6 +59,11 @@ require 'rubyvote' module LoginEngine config :salt, "voothingboat" + config :email_from, MAIL_CONFIG[:from] end Engines.start :login + +# action mailer configuration +ActionMailer::Base.delivery_method = :sendmail +ActionMailer::Base.default_charset = "utf-8"