mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 02:44:31 +00:00
get user
This commit is contained in:
@@ -9,6 +9,8 @@ Route::group(['prefix' => 'auth'], function () {
|
||||
Route::post('logout', 'Auth\LogoutController')->middleware('auth:api');
|
||||
});
|
||||
|
||||
Route::get('users', 'Users\UserController@getUser')->middleware('auth:api');
|
||||
|
||||
Route::apiResource('chat/links', 'ChatLinkController')->except(['show'])->middleware('auth:api'); // ссылки чата
|
||||
|
||||
Route::apiResource('headteachers', 'Users\HeadTeacherController');
|
||||
|
||||
Reference in New Issue
Block a user