diff options
Diffstat (limited to 'main/app/sprinkles/admin/routes/search.php')
-rw-r--r-- | main/app/sprinkles/admin/routes/search.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/main/app/sprinkles/admin/routes/search.php b/main/app/sprinkles/admin/routes/search.php index 05793c1..fb0b19e 100644 --- a/main/app/sprinkles/admin/routes/search.php +++ b/main/app/sprinkles/admin/routes/search.php @@ -1,8 +1,8 @@ -<?php - -/** - * Routes for searching any kind of data we have - */ -$app->group('/api/search', function () { - $this->get('/user/{search_term}', 'UserFrosting\Sprinkle\Admin\Controller\SearchController:ByUsername'); -})->add('authGuard'); +<?php
+
+/**
+ * Routes for searching any kind of data we have
+ */
+$app->group('/api/search', function () {
+ $this->get('/user/{search_term}', 'UserFrosting\Sprinkle\Admin\Controller\SearchController:ByUsername');
+})->add('authGuard');
|