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

How can I solve "laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system"? - development

CORS issue between web/android/ios

Angular.js ng-click with mouse middle button