1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/mailers/overwritten_devise_mailer.rb

10 lines
303 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('email_from') }
end