Dossier: fix merge

This commit is contained in:
Simon Lehericey 2017-03-06 18:17:28 +01:00
parent caf1f1b74f
commit a5bb6ea0d7

View file

@ -307,6 +307,9 @@ class Dossier < ActiveRecord::Base
(invites_user.pluck :email).include? email
end
def can_be_initiated?
!(procedure.archived && draft?)
end
private
@ -320,7 +323,4 @@ class Dossier < ActiveRecord::Base
end
end
def can_be_initiated?
!(procedure.archived && draft?)
end
end