Some fixes related to developing my Micropub client

This commit is contained in:
Jonny Barnes 2025-08-17 11:05:38 +01:00
commit 363254d13c
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
6 changed files with 61 additions and 13 deletions

View file

@ -137,6 +137,16 @@ Route::middleware(MyAuthMiddleware::class)->prefix('admin')->group(function () {
Route::delete('/{syndicationTarget}', [SyndicationTargetsController::class, 'destroy']);
});
// Clients
Route::prefix('clients')->group(function () {
Route::get('/', [ClientsController::class, 'index']);
Route::get('/create', [ClientsController::class, 'create']);
Route::post('/', [ClientsController::class, 'store']);
Route::get('/{clientId}/edit', [ClientsController::class, 'edit']);
Route::put('/{clientId}', [ClientsController::class, 'update']);
Route::delete('/{clientId}', [ClientsController::class, 'destroy']);
});
// Bio
Route::prefix('bio')->group(function () {
Route::get('/', [BioController::class, 'show'])->name('admin.bio.show');