mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: bring back legal pages
This commit is contained in:
@@ -3,10 +3,6 @@ import { updateUserThemeValidator } from '#validators/user';
|
||||
import type { HttpContext } from '@adonisjs/core/http';
|
||||
|
||||
export default class AppsController {
|
||||
index({ inertia }: HttpContext) {
|
||||
return inertia.render('home');
|
||||
}
|
||||
|
||||
async updateUserTheme({ request, session, response }: HttpContext) {
|
||||
const { preferDarkTheme } = await request.validateUsing(
|
||||
updateUserThemeValidator
|
||||
|
||||
Reference in New Issue
Block a user