aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/routes/search.php
blob: 05793c137e30307fb8afc2c62c4cd8b410e7db3a (plain) (blame)
1
2
3
4
5
6
7
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');