Answers for "how to return route in controller in laravel"

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 routes return view in web.php

Route::get("/page", function(){
   return View::make("dir.page");
});
Posted by: Guest on May-07-2020

Code answers related to "how to return route in controller in laravel"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language