Changer render ‘show’ for redirect_to
This commit is contained in:
parent
aa2d2ad924
commit
39bab7ac6f
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class Users::RecapitulatifController < UsersController
|
|||
@facade.dossier.next_step! 'user', 'initiate'
|
||||
flash.notice = 'Dossier soumis avec succès.'
|
||||
|
||||
render 'show'
|
||||
redirect_to users_dossier_recapitulatif_path
|
||||
end
|
||||
|
||||
def submit
|
||||
|
@ -23,7 +23,7 @@ class Users::RecapitulatifController < UsersController
|
|||
@facade.dossier.submit!
|
||||
flash.notice = 'Dossier déposé avec succès.'
|
||||
|
||||
render 'show'
|
||||
redirect_to users_dossier_recapitulatif_path
|
||||
end
|
||||
|
||||
def self.route_authorization
|
||||
|
|
Loading…
Reference in a new issue