1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/mailers/overwritten_devise_mailer.rb
Sylvain 86336e3619 fix app unable to start
message:
no connection pool with 'primary' found postgres
2020-06-02 10:25:52 +02:00

10 lines
302 B
Ruby

# frozen_string_literal: true
# Override the default Devise settings for emails notifications
class OverwrittenDeviseMailer < Devise::Mailer
helper :application
include Devise::Controllers::UrlHelpers
default template_path: 'devise/mailer'
default from: ->(*) { Setting.get('mail_from') }
end