Merge branch 'develop' into staging

This commit is contained in:
Xavier J 2017-01-10 17:35:05 +01:00
commit 18a0cbd296

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