Manage Routes
<?php
namespace App\Routes;
use Illuminate\Support\Facades\Route;
/**
* Setup Routes for User
*/
class User
{
public static function routes()
{
Route::group([
'prefix' => 'v1/admin',
'middleware' => ['web', 'auth'],
], function () {
Route::resource('users', 'UserController');
});
}
}