mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update web routes
This commit is contained in:
parent
05f659896d
commit
2023928bb5
1 changed files with 1 additions and 2 deletions
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue