robertop23 / web2py_vuejs_vuetify

Web2py with Vue.js and Vuetify
Other
21 stars 9 forks source link

invalid controller (login/index) #2

Closed alexvinidiktov closed 6 years ago

alexvinidiktov commented 6 years ago

If I click on the login link when I'm on the home page, the login route is loaded but if I manually enter the address of the login route (http://localhost:8000/web2py_vuejs_vuetify/login) I get the 'invalid controller (login/index) error message.

robertop23 commented 6 years ago

This is a SPA application, the idea is not use the URL to access Web2py controllers, all must be handled from Vue router.

This is not a big issue, but maybe we can show an "Unauthorized" or something like that instead of show the Invalid controller error