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

Comments

Popular posts from this blog

HTTP 401 Unable to create record Twillio PHP sdk 5.16 - development

ng-include of inline SVG does not display gradient except in Chrome

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development