feat: recreate form link (layout + create)

This commit is contained in:
Sonny
2024-11-01 19:58:48 +01:00
committed by Sonny
parent 6d568b133f
commit d66e92adbc
5 changed files with 163 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ export default class LinksController {
async showCreatePage({ auth, inertia }: HttpContext) {
const collections =
await this.collectionsController.getCollectionsByAuthorId(auth.user!.id);
return inertia.render('links/create', { collections });
return inertia.render('mantine/links/create', { collections });
}
async store({ auth, request, response }: HttpContext) {