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
|
dossier.destroy
|
||||||
flash.notice = 'Brouillon supprimé'
|
flash.notice = 'Brouillon supprimé'
|
||||||
end
|
end
|
||||||
redirect_to url_for users_dossiers_path
|
redirect_to url_for users_dossiers_path(liste: 'brouillon')
|
||||||
end
|
end
|
||||||
|
|
||||||
def text_summary
|
def text_summary
|
||||||
|
|
Loading…
Add table
Reference in a new issue