phpldapadmin/routes/api.php
Deon George 2ccc1d3b83 Framework update and updates from other projects,remove leenooks/laravel
Framework updates, and hack to get CI testing working
2021-12-11 00:24:00 +11:00

25 lines
693 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\APIController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::group([],function() {
Route::get('/bases',[APIController::class,'bases']);
Route::get('/children',[APIController::class,'children']);
});
Route::group(['middleware'=>'auth:api','prefix'=>'user'],function() {
});