Update web routes

This commit is contained in:
Daniel Supernault 2019-09-19 20:28:11 -06:00
parent 05f659896d
commit 2023928bb5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -360,13 +360,12 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::redirect('/', '/'); Route::redirect('/', '/');
Route::get('{user}.atom', 'ProfileController@showAtomFeed'); Route::get('{user}.atom', 'ProfileController@showAtomFeed');
Route::get('{username}/outbox', 'FederationController@userOutbox'); Route::get('{username}/outbox', 'FederationController@userOutbox');
Route::get('{username}', 'ProfileController@permalinkRedirect');
Route::get('{username}/followers', 'FederationController@userFollowers'); Route::get('{username}/followers', 'FederationController@userFollowers');
Route::get('{username}/following', 'FederationController@userFollowing'); Route::get('{username}/following', 'FederationController@userFollowing');
Route::get('{username}', 'ProfileController@permalinkRedirect');
}); });
Route::get('c/{collection}', 'CollectionController@show'); Route::get('c/{collection}', 'CollectionController@show');
Route::get('p/{username}/{id}/c/{cid}', 'CommentController@show');
Route::get('p/{username}/{id}/c', 'CommentController@showAll'); Route::get('p/{username}/{id}/c', 'CommentController@showAll');
Route::get('p/{username}/{id}/edit', 'StatusController@edit'); Route::get('p/{username}/{id}/edit', 'StatusController@edit');
Route::post('p/{username}/{id}/edit', 'StatusController@editStore'); Route::post('p/{username}/{id}/edit', 'StatusController@editStore');