fucking props!

This commit is contained in:
Sockenklaus
2023-07-02 19:56:51 +02:00
parent bc38291696
commit bf92a1ed9a
6 changed files with 47 additions and 21 deletions

View File

@@ -24,14 +24,15 @@ Route.get('/', async ({ inertia }) => {
return inertia.render('Home')
})
Route.get('/Login', async({inertia}) =>{
Route.get('/login', async({inertia}) =>{
return inertia.render('Login')
})
Route.get('/Events', async({inertia})=> {
return inertia.render('Events/EventsList')
Route.get('/events', async({ inertia, request }) => {
return inertia.render('Events/EventsList', {
route: request.url() })
})
Route.get('/Users', async({inertia}) => {
Route.get('/users', async({inertia}) => {
return inertia.render('Users/UsersList')
})