1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-11 05:54:15 +01:00
fab-manager/app/mailers/base_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

14 lines
258 B
Ruby

# frozen_string_literal: true
# Mailer configuration
class BaseMailer < ActionMailer::Base
default from: ->(*) { Setting.get('mail_from') }
layout 'notifications_mailer'
helper :application
def helpers
ActionController::Base.helpers
end
end