mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
11 lines
267 B
TypeScript
11 lines
267 B
TypeScript
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,
|
|
});
|
|
}
|
|
}
|