After deleting a brouillon, stay on the brouillon tab
Instead of redirecting on another tab
This commit is contained in:
parent
13aaf5c38a
commit
7be86796c1
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Users::DossiersController < UsersController
|
|||
dossier.destroy
|
||||
flash.notice = 'Brouillon supprimé'
|
||||
end
|
||||
redirect_to url_for users_dossiers_path
|
||||
redirect_to url_for users_dossiers_path(liste: 'brouillon')
|
||||
end
|
||||
|
||||
def text_summary
|
||||
|
|
Loading…
Reference in a new issue