Routes adding on the wrong place

Wappler Version :
Operating System :
Server Model:
Database Type:
Hosting Type:

Expected behavior

I am building 2 dashboards, one for users and one for admins. When I add pages under the users dashboard, the routes should work from just the user’s dashboard

Actual behavior

After finishing the administrator dashboard, when I continue to add items to my simple user dashboard, not the admin one, the routes are been added is to the admin routes, so on the htaccess file the redirect is wrong and generates a page not found.

The file system is like this:

user dashboard is file is located at the sites root-level
/dashboard.php

/include
/include/wallet.php

Admin dashboard is in a folder called admin
/admin/dashboard.php

How to reproduce

I also noticed on the routes.json file the route is been added to the wrong dashboard. I have manually moved it to the simple dashboard, but any time I save working on the files it adds it back to the admin dashboard.

Could this be because I have multiple routes and two files named dashboard.php?

Community Page
Last updated: