X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/2ba40f97b78f529984ff26c7c7d61c91d213e7b0..fd484b33a3920e0031007c5c2f1dec61913cbab5:/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"