Updated the helpdesk module

This commit is contained in:
Mark Gregory
2026-06-14 15:38:53 +01:00
parent de458cc010
commit 16d8ae1b8c
33 changed files with 1914 additions and 131 deletions
+8 -15
View File
@@ -1,18 +1,11 @@
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| 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::middleware('auth:api')->get('/documentation', function (Request $request) {
return $request->user();
});
Route::prefix('documentation')->name('api.documentation.')->group(function (): void {
Route::get('/status', static fn (): array => [
'module' => 'documentation',
'status' => 'ok',
'version' => '1.1.0',
])->name('status');
});