Delete un-use code

This commit is contained in:
Xavier J 2016-12-19 15:08:00 +01:00
parent 5791206a45
commit 2fccbbf4f0
5 changed files with 10 additions and 14 deletions

View file

@ -22,11 +22,11 @@ class Users::DescriptionController < UsersController
redirect_to url_for(root_path)
end
def error
show
flash.now.alert = 'Un ou plusieurs attributs obligatoires sont manquants ou incorrects.'
render 'show'
end
# def error
# show
# flash.now.alert = 'Un ou plusieurs attributs obligatoires sont manquants ou incorrects.'
# render 'show'
# end
def create
@dossier = current_user_dossier