mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
10 lines
303 B
Ruby
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
|