- added route for showing map with all bounding boxes
All checks were successful
CI Pipeline / japa-tests (push) Successful in 50s

- npm updates
- new Map.vue
This commit is contained in:
Kaimbacher 2023-10-20 15:26:25 +02:00
parent cf859ba402
commit 2360a81d1e
4 changed files with 334 additions and 148 deletions

View file

@ -79,6 +79,10 @@ Route.get('/dashboard', async ({ inertia }) => {
.as('dashboard')
.middleware('auth');
Route.get('/map', async ({ inertia }) => {
return inertia.render('Map');
}).as('map');
// Route.on("/login").render("signin");
Route.get('/app/login', async ({ inertia }) => {
return inertia.render('Auth/Login');
@ -185,9 +189,7 @@ Route.group(() => {
// .middleware(['auth', 'is:submitter']);
Route.group(() => {
Route.put('/dataset/:id/update', 'DatasetsController.update')
.as('editor.dataset.update')
.middleware(['auth', 'can:dataset-submit']);
Route.put('/dataset/:id/update', 'DatasetsController.update').as('editor.dataset.update').middleware(['auth', 'can:dataset-submit']);
})
.namespace('App/Controllers/Http/Editor')
.prefix('editor');
.namespace('App/Controllers/Http/Editor')
.prefix('editor');