Route::get("/user/{id}/delete", "UserController@destroy");
You really should read documentation before you post something to forum.
I am read the documentation so using this Route::get("/user/{id}/delete", "UserController@destroy"); before create the post but not work
You Should never have the need to use controller functions inside Eloquent models!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community