mercredi 25 décembre 2019

How to redirect route by encryption id using laravel-hashslug?

MY destination route:

http://example.com/user/mMr05WoByGQqLXwxGO4j

return method in controller:

return redirect()->route('user',$id);

But i am unable to reach my destination route from controller.

For id encryption and decryption i and using below package:

https://gitlab.com/balping/laravel-hashslug



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire