Improuve revision changes messages
This commit is contained in:
parent
241eff76a3
commit
15ff046428
7 changed files with 84 additions and 64 deletions
|
@ -368,14 +368,6 @@ class Procedure < ApplicationRecord
|
|||
published_revision.compare(draft_revision)
|
||||
end
|
||||
|
||||
def revision_types_de_champ_private_changes
|
||||
revision_changes.filter { |change| change[:private] }
|
||||
end
|
||||
|
||||
def revision_types_de_champ_changes
|
||||
revision_changes.filter { |change| !change[:private] }
|
||||
end
|
||||
|
||||
def accepts_new_dossiers?
|
||||
publiee? || brouillon?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue