Make all Mails classes inherit from ApplicationRecord

This commit is contained in:
gregoirenovel 2017-05-27 00:44:01 +02:00
parent 5a59115df4
commit e06ddeb168
3 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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'

View file

@ -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'