Merge branch 'staging'

This commit is contained in:
Xavier J 2017-01-10 17:35:17 +01:00
commit 91c7fc8d68

View file

@ -10,5 +10,10 @@ class Admin::ChangeDossierStateController < AdminController
def check
@dossier = Dossier.find(params[:dossier][:id])
unless @dossier.procedure.administrateur.email == current_administrateur.email
flash.alert = 'Dossier introuvable'
return redirect_to admin_change_dossier_state_path
end
end
end