Skip to content

Commit 4e7dbf2

Browse files
committed
Merge branch '3.x' of github.com:BinarCode/laravel-restify into 3.x
2 parents 5d38bf1 + 07af673 commit 4e7dbf2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

routes/api.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212
use Illuminate\Support\Facades\Route;
1313

1414
// Global Search...
15-
Route::get('/search', '\\' . GlobalSearchController::class);
15+
Route::get('/search', '\\'.GlobalSearchController::class);
1616

1717
// Filters
18-
Route::get('/{repository}/filters', '\\' . RepositoryFilterController::class);
18+
Route::get('/{repository}/filters', '\\'.RepositoryFilterController::class);
1919

2020
// API CRUD
21-
Route::get('/{repository}', '\\' . RepositoryIndexController::class);
22-
Route::post('/{repository}', '\\' . RepositoryStoreController::class);
23-
Route::get('/{repository}/{repositoryId}', '\\' . RepositoryShowController::class);
24-
Route::patch('/{repository}/{repositoryId}', '\\' . RepositoryUpdateController::class);
25-
Route::put('/{repository}/{repositoryId}', '\\' . RepositoryUpdateController::class);
26-
Route::post('/{repository}/{repositoryId}', '\\' . RepositoryUpdateController::class);
27-
Route::delete('/{repository}/{repositoryId}', '\\' . RepositoryDestroyController::class);
21+
Route::get('/{repository}', '\\'.RepositoryIndexController::class);
22+
Route::post('/{repository}', '\\'.RepositoryStoreController::class);
23+
Route::get('/{repository}/{repositoryId}', '\\'.RepositoryShowController::class);
24+
Route::patch('/{repository}/{repositoryId}', '\\'.RepositoryUpdateController::class);
25+
Route::put('/{repository}/{repositoryId}', '\\'.RepositoryUpdateController::class);
26+
Route::post('/{repository}/{repositoryId}', '\\'.RepositoryUpdateController::class);
27+
Route::delete('/{repository}/{repositoryId}', '\\'.RepositoryDestroyController::class);
2828

2929
// Attach related repository id
30-
Route::post('/{repository}/{repositoryId}/attach/{relatedRepository}', '\\' . RepositoryAttachController::class);
31-
Route::post('/{repository}/{repositoryId}/detach/{relatedRepository}', '\\' . RepositoryDetachController::class);
30+
Route::post('/{repository}/{repositoryId}/attach/{relatedRepository}', '\\'.RepositoryAttachController::class);
31+
Route::post('/{repository}/{repositoryId}/detach/{relatedRepository}', '\\'.RepositoryDetachController::class);

0 commit comments

Comments
 (0)