grouping routes based on controller

109

use App\Http\Controllers\Admin\AdminController;
Route::controller(AdminController::class)->group(function(){
    Route::get('admin/dashboard', 'dashboard');
    Route::get('admin/test', 'test');
});

Comments

Submit
0 Comments