mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-23 11:08:13 -05:00
20 lines
467 B
PHP
20 lines
467 B
PHP
<?php
|
|
namespace App\Http\Routes\V2;
|
|
|
|
use Illuminate\Contracts\Routing\Registrar;
|
|
|
|
class UserRoute
|
|
{
|
|
public function map(Registrar $router)
|
|
{
|
|
$router->group([
|
|
'prefix' => 'user',
|
|
'middleware' => 'user'
|
|
], function ($router) {
|
|
// User
|
|
$router->get('/resetSecurity', 'V1\\User\\UserController@resetSecurity');
|
|
$router->get('/info', 'V1\\User\\UserController@info');
|
|
});
|
|
}
|
|
}
|