I am trying to delete a category by clicking on a button Blade: Route: Controller: but I am getting an error while clicking on a button that Any help appreciated. Answer The ::find($id) method expects $id to be a number, the primary key of the row you want to find. If you want to delete a row by name, you
Tag: laravel-routing
Set session variable in laravel
I would like to set a variable in the session using laravel this way but the problem is that I don’t know where to put this code, ’cause I would like to set it for one time (when the guest visite the home page or any other page)? The main idea is to use a global variable to use it
Laravel 5 – redirect to HTTPS
Working on my first Laravel 5 project and not sure where or how to place logic to force HTTPS on my app. The clincher here is that there are many domains pointing to the app and only two out of three …