From f4373ec761491213a4c5690ef33832f35cbb5e32 Mon Sep 17 00:00:00 2001 From: nfoy Date: Tue, 22 Apr 2014 18:30:06 -0400 Subject: Initial mailboxer settings. --- app/models/user.rb | 2 ++ config/initializers/mailboxer.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-2-g168b