fucking props!
This commit is contained in:
@@ -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')
|
||||
})
|
||||
Reference in New Issue
Block a user