Merge pull request #1520 from pixelfed/frontend-ui-refactor

Update routes
pull/1525/head
daniel 6 years ago committed by GitHub
commit 973cdc5f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,7 +119,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::post('collection/item', 'CollectionController@storeId'); Route::post('collection/item', 'CollectionController@storeId');
Route::get('collection/{id}', 'CollectionController@get'); Route::get('collection/{id}', 'CollectionController@get');
Route::post('collection/{id}', 'CollectionController@store'); Route::post('collection/{id}', 'CollectionController@store');
Route::delete('collection/{id}', 'CollectionController@delete'); Route::delete('collection/{id}', 'CollectionController@delete')->middleware('throttle:maxCollectionsPerHour,60')->middleware('throttle:maxCollectionsPerDay,1440')->middleware('throttle:maxCollectionsPerMonth,43800');
Route::post('collection/{id}/publish', 'CollectionController@publish')->middleware('throttle:maxCollectionsPerHour,60')->middleware('throttle:maxCollectionsPerDay,1440')->middleware('throttle:maxCollectionsPerMonth,43800'); Route::post('collection/{id}/publish', 'CollectionController@publish')->middleware('throttle:maxCollectionsPerHour,60')->middleware('throttle:maxCollectionsPerDay,1440')->middleware('throttle:maxCollectionsPerMonth,43800');
Route::get('profile/collections/{id}', 'CollectionController@getUserCollections'); Route::get('profile/collections/{id}', 'CollectionController@getUserCollections');
}); });

Loading…
Cancel
Save