remove condition - Colin feedback review
This commit is contained in:
parent
ac834b0c0a
commit
b02edd15dc
1 changed files with 3 additions and 5 deletions
|
@ -305,12 +305,10 @@ module Administrateurs
|
|||
end
|
||||
|
||||
def publish_revision
|
||||
if @procedure.draft_changed?
|
||||
@procedure.publish_revision!
|
||||
flash.notice = "Nouvelle version de la démarche publiée"
|
||||
@procedure.publish_revision!
|
||||
flash.notice = "Nouvelle version de la démarche publiée"
|
||||
|
||||
redirect_to admin_procedure_path(@procedure)
|
||||
end
|
||||
redirect_to admin_procedure_path(@procedure)
|
||||
end
|
||||
|
||||
def transfert
|
||||
|
|
Loading…
Reference in a new issue