Delete un-use code
This commit is contained in:
parent
5791206a45
commit
2fccbbf4f0
5 changed files with 10 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue