Info: All my routes look like this /locale/something
for example /en/home
works fine.
In my controller I'm using the firstOrFail()
function.
When the fail part is triggered the function tries to send me to /home
. Which doesn't work because it needs to be /en/home
.
So how can I adjust the firstOrFail()
function to send me to /locale/home
? What needs to changed ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire