diff --git a/routes/web.php b/routes/web.php index f73dc1f9..fb43d883 100644 --- a/routes/web.php +++ b/routes/web.php @@ -16,7 +16,17 @@ Route::domain(config('pixelfed.domain.admin'))->prefix('i/admin')->group(functio Route::get('profiles/edit/{id}', 'AdminController@profileShow'); Route::redirect('users', '/users/list'); Route::get('users/list', 'AdminController@users')->name('admin.users'); - Route::get('users/edit/{id}', 'AdminController@editUser'); + Route::get('users/show/{id}', 'AdminController@userShow'); + Route::get('users/edit/{id}', 'AdminController@userEdit'); + Route::post('users/edit/{id}', 'AdminController@userEditSubmit'); + Route::get('users/activity/{id}', 'AdminController@userActivity'); + Route::get('users/message/{id}', 'AdminController@userMessage'); + Route::post('users/message/{id}', 'AdminController@userMessageSend'); + Route::get('users/modtools/{id}', 'AdminController@userModTools'); + Route::get('users/modlogs/{id}', 'AdminController@userModLogs'); + Route::post('users/modlogs/{id}', 'AdminController@userModLogsMessage'); + Route::get('users/delete/{id}', 'AdminController@userDelete'); + Route::post('users/delete/{id}', 'AdminController@userDelete'); Route::get('media', 'AdminController@media')->name('admin.media'); Route::redirect('media/list', '/i/admin/media'); Route::get('media/show/{id}', 'AdminController@mediaShow');