route group laravel prefix with controller code example
Example: route group in laravel
Route::group(['prefix' => 'admin']){
Route::get('/',function(){
//...
});
}
Route::group(['prefix' => 'admin']){
Route::get('/',function(){
//...
});
}