diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-22 18:30:06 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-22 18:30:06 -0400 |
commit | f4373ec761491213a4c5690ef33832f35cbb5e32 (patch) | |
tree | e0f6a122d6cb1635c75120386f9873cc81cbcef0 | |
parent | 7f452e8d99a86af2e3dc2f743158951092aedeb7 (diff) |
Initial mailboxer settings.
-rw-r--r-- | app/models/user.rb | 2 | ||||
-rw-r--r-- | config/initializers/mailboxer.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 57746b7..aacd7b1 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -10,6 +10,8 @@ class User < ActiveRecord::Base apply_simple_captcha + acts_as_messageable + before_save { self.email = email.downcase } before_save { self.user_name = user_name } diff --git a/config/initializers/mailboxer.rb b/config/initializers/mailboxer.rb index 4d9011d..2778a10 100644 --- a/config/initializers/mailboxer.rb +++ b/config/initializers/mailboxer.rb @@ -1,7 +1,7 @@ Mailboxer.setup do |config| #Configures if you applications uses or no the email sending for Notifications and Messages - config.uses_emails = true + config.uses_emails = false #Configures the default from for the email sent for Messages and Notifications of Mailboxer config.default_from = "no-reply@mailboxer.com" |