forked from mirror/pixelfed
Fix story object route
This commit is contained in:
parent
6b9197cca6
commit
4c662ff55c
2 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,7 @@ Route::post('/users/{username}/inbox', 'FederationController@userInbox');
|
||||||
Route::get('i/actor', 'InstanceActorController@profile');
|
Route::get('i/actor', 'InstanceActorController@profile');
|
||||||
Route::post('i/actor/inbox', 'InstanceActorController@inbox');
|
Route::post('i/actor/inbox', 'InstanceActorController@inbox');
|
||||||
Route::get('i/actor/outbox', 'InstanceActorController@outbox');
|
Route::get('i/actor/outbox', 'InstanceActorController@outbox');
|
||||||
|
Route::get('/stories/{username}/{id}', 'StoryController@getActivityObject');
|
||||||
|
|
||||||
Route::group(['prefix' => 'api'], function() use($middleware) {
|
Route::group(['prefix' => 'api'], function() use($middleware) {
|
||||||
|
|
||||||
|
|
|
@ -505,7 +505,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('{username}', 'ProfileController@permalinkRedirect');
|
Route::get('{username}', 'ProfileController@permalinkRedirect');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/stories/{username}/{id}', 'StoryController@getActivityObject');
|
|
||||||
Route::get('stories/{username}', 'ProfileController@stories');
|
Route::get('stories/{username}', 'ProfileController@stories');
|
||||||
Route::get('p/{id}', 'StatusController@shortcodeRedirect');
|
Route::get('p/{id}', 'StatusController@shortcodeRedirect');
|
||||||
Route::get('c/{collection}', 'CollectionController@show');
|
Route::get('c/{collection}', 'CollectionController@show');
|
||||||
|
|
Loading…
Reference in a new issue