]> BookStack Code Mirror - bookstack/blobdiff - app/Search/SearchApiController.php
Played around with a new app structure
[bookstack] / app / Search / SearchApiController.php
similarity index 93%
rename from app/Http/Controllers/Api/SearchApiController.php
rename to app/Search/SearchApiController.php
index bf59ec67162f1a264c59a734ba9c33634f5d15bf..14b946abc88ac0a6a6dd878239c3c19a5bb7f915 100644 (file)
@@ -1,12 +1,10 @@
 <?php
 
-namespace BookStack\Http\Controllers\Api;
+namespace BookStack\Search;
 
 use BookStack\Api\ApiEntityListFormatter;
 use BookStack\Entities\Models\Entity;
-use BookStack\Search\SearchOptions;
-use BookStack\Search\SearchResultsFormatter;
-use BookStack\Search\SearchRunner;
+use BookStack\Http\Controllers\ApiController;
 use Illuminate\Http\Request;
 
 class SearchApiController extends ApiController