Update web routes

This commit is contained in:
Daniel Supernault 2018-09-02 19:25:33 -06:00
parent 4ea205491c
commit 710d1ef409
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -13,6 +13,7 @@ Route::domain(config('pixelfed.domain.admin'))->prefix('i/admin')->group(functio
Route::get('statuses/show/{id}', 'AdminController@showStatus'); Route::get('statuses/show/{id}', 'AdminController@showStatus');
Route::redirect('users', '/users/list'); Route::redirect('users', '/users/list');
Route::get('users/list', 'AdminController@users')->name('admin.users'); Route::get('users/list', 'AdminController@users')->name('admin.users');
Route::get('users/edit/{id}', 'AdminController@editUser');
Route::redirect('media', '/media/list'); Route::redirect('media', '/media/list');
Route::get('media/list', 'AdminController@media')->name('admin.media'); Route::get('media/list', 'AdminController@media')->name('admin.media');
}); });