Answers for "laravel route call controller function"

3

laravel route controller

use App\Http\Controllers\UserController;

Route::get('user/{id}', [UserController::class, 'show']);
Posted by: Guest on November-29-2020
0

Laravel route not calling function of controller

//in the terminal run
composer dump-autoload
Posted by: Guest on April-29-2020

Code answers related to "laravel route call controller function"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language