Update web routes

This commit is contained in:
Daniel Supernault 2019-06-03 13:13:19 -06:00
parent a39f0e9d52
commit 5446593623
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -96,8 +96,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::post('moderator/action', 'InternalApiController@modAction'); Route::post('moderator/action', 'InternalApiController@modAction');
Route::get('discover/categories', 'InternalApiController@discoverCategories'); Route::get('discover/categories', 'InternalApiController@discoverCategories');
Route::post('status/compose', 'InternalApiController@composePost'); Route::post('status/compose', 'InternalApiController@composePost');
Route::get('loops', 'ApiController@loops'); Route::get('loops', 'DiscoverController@loopsApi');
Route::post('loops/watch', 'ApiController@loopWatch'); Route::post('loops/watch', 'DiscoverController@loopWatch');
}); });
Route::group(['prefix' => 'local'], function () { Route::group(['prefix' => 'local'], function () {
Route::get('i/follow-suggestions', 'ApiController@followSuggestions'); Route::get('i/follow-suggestions', 'ApiController@followSuggestions');