AvisController: add a notification when a avis has been received
This commit is contained in:
parent
34a7905828
commit
cdcd5b951f
4 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,8 @@ class Notification < ActiveRecord::Base
|
|||
cerfa: 'cerfa',
|
||||
piece_justificative: 'piece_justificative',
|
||||
champs: 'champs',
|
||||
submitted: 'submitted'
|
||||
submitted: 'submitted',
|
||||
avis: 'avis'
|
||||
}
|
||||
scope :unread, -> { where(already_read: false) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue