deactivating mailing
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
class Admin::ApplicationController < ApplicationController
|
||||
http_basic_authenticate_with name: "admin", password: ENV['ADMIN_PASSWORD'] unless Rails.env.development?
|
||||
http_basic_authenticate_with name: 'admin', password: ENV['ADMIN_PASSWORD'] unless Rails.env.development?
|
||||
end
|
||||
|
||||
@@ -8,7 +8,7 @@ class SupportersController < ApplicationController
|
||||
def create
|
||||
@supporter = Supporter.new supporter_form_params.merge(language: I18n.locale)
|
||||
if !input_to_fast? && @supporter.save
|
||||
SupporterMailer.welcome_email(@supporter).deliver_now
|
||||
# SupporterMailer.welcome_email(@supporter).deliver_now
|
||||
redirect_to thanks_path
|
||||
else
|
||||
flash.now[:danger] = t '.timeout' if input_to_fast?
|
||||
|
||||
Reference in New Issue
Block a user