Tuesday, March 13, 2018

How to retrieve URL path one level below in Laravel? - development

How to retrieve URL path one level below in Laravel?

I have a route, for example /posts/6, I want at this route to make a button which will redirect me back to url path one level below, in that case, to /posts/. I didn’t found a method of Request or Route class in BLADE, that will solve that issue.



from Laravel Questions and Answers https://laravelquestions.com/laravel/how-to-retrieve-url-path-one-level-below-in-laravel/
via Lzo Media

No comments:

Post a Comment