Ajout du bouton traité pour les gestionnaires
This commit is contained in:
parent
a57b9852b2
commit
d53c43a7b0
5 changed files with 37 additions and 1 deletions
|
@ -27,4 +27,15 @@ class Backoffice::DossiersController < ApplicationController
|
|||
|
||||
render 'show'
|
||||
end
|
||||
|
||||
def process_end
|
||||
params[:id] = params[:dossier_id]
|
||||
|
||||
show
|
||||
|
||||
@dossier.next_step! 'gestionnaire', 'process'
|
||||
flash.notice = 'Dossier traité avec succès.'
|
||||
|
||||
render 'show'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue