Laravel url function generates a fully qualified URL to the given path. I need to generate relative path and only prepend them the site base url. I seems unlike other well-known framework it does not have a config to set the base URL. What is the correct way to generate relative paths?
On the other hand, if, for example, the user requests http://url/base/user/1/edit url, how to only get the user/1/edit part?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire