feat: create dedicated settings page instead of creating many modals

This commit is contained in:
Sonny
2025-08-21 15:59:03 +02:00
parent c2a1d06008
commit 376e9e32c3
16 changed files with 219 additions and 71 deletions

View File

@@ -0,0 +1,10 @@
import { HttpContext } from '@adonisjs/core/http';
export default class ShowUserSettingsController {
public async render({ auth, inertia }: HttpContext) {
const user = await auth.authenticate();
return inertia.render('user_settings/show', {
user,
});
}
}