Make all Mails classes inherit from ApplicationRecord
This commit is contained in:
parent
5a59115df4
commit
e06ddeb168
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
module Mails
|
module Mails
|
||||||
class ClosedMail < ActiveRecord::Base
|
class ClosedMail < ApplicationRecord
|
||||||
include MailTemplateConcern
|
include MailTemplateConcern
|
||||||
|
|
||||||
DISPLAYED_NAME = "Accusé d'acceptation"
|
DISPLAYED_NAME = "Accusé d'acceptation"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module Mails
|
module Mails
|
||||||
class InitiatedMail < ActiveRecord::Base
|
class InitiatedMail < ApplicationRecord
|
||||||
include MailTemplateConcern
|
include MailTemplateConcern
|
||||||
|
|
||||||
DISPLAYED_NAME = 'Accusé de réception'
|
DISPLAYED_NAME = 'Accusé de réception'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module Mails
|
module Mails
|
||||||
class ReceivedMail < ActiveRecord::Base
|
class ReceivedMail < ApplicationRecord
|
||||||
include MailTemplateConcern
|
include MailTemplateConcern
|
||||||
|
|
||||||
DISPLAYED_NAME = 'Accusé de passage en instruction'
|
DISPLAYED_NAME = 'Accusé de passage en instruction'
|
||||||
|
|
Loading…
Reference in a new issue