diff --git a/routes/api.php b/routes/api.php index b2b291727..32ad0c378 100644 --- a/routes/api.php +++ b/routes/api.php @@ -12,20 +12,20 @@ use Illuminate\Support\Facades\Route; // Global Search... -Route::get('/search', '\\' . GlobalSearchController::class); +Route::get('/search', '\\'.GlobalSearchController::class); // Filters -Route::get('/{repository}/filters', '\\' . RepositoryFilterController::class); +Route::get('/{repository}/filters', '\\'.RepositoryFilterController::class); // API CRUD -Route::get('/{repository}', '\\' . RepositoryIndexController::class); -Route::post('/{repository}', '\\' . RepositoryStoreController::class); -Route::get('/{repository}/{repositoryId}', '\\' . RepositoryShowController::class); -Route::patch('/{repository}/{repositoryId}', '\\' . RepositoryUpdateController::class); -Route::put('/{repository}/{repositoryId}', '\\' . RepositoryUpdateController::class); -Route::post('/{repository}/{repositoryId}', '\\' . RepositoryUpdateController::class); -Route::delete('/{repository}/{repositoryId}', '\\' . RepositoryDestroyController::class); +Route::get('/{repository}', '\\'.RepositoryIndexController::class); +Route::post('/{repository}', '\\'.RepositoryStoreController::class); +Route::get('/{repository}/{repositoryId}', '\\'.RepositoryShowController::class); +Route::patch('/{repository}/{repositoryId}', '\\'.RepositoryUpdateController::class); +Route::put('/{repository}/{repositoryId}', '\\'.RepositoryUpdateController::class); +Route::post('/{repository}/{repositoryId}', '\\'.RepositoryUpdateController::class); +Route::delete('/{repository}/{repositoryId}', '\\'.RepositoryDestroyController::class); // Attach related repository id -Route::post('/{repository}/{repositoryId}/attach/{relatedRepository}', '\\' . RepositoryAttachController::class); -Route::post('/{repository}/{repositoryId}/detach/{relatedRepository}', '\\' . RepositoryDetachController::class); +Route::post('/{repository}/{repositoryId}/attach/{relatedRepository}', '\\'.RepositoryAttachController::class); +Route::post('/{repository}/{repositoryId}/detach/{relatedRepository}', '\\'.RepositoryDetachController::class);