Problem with routes

Hi, i am with that error in my app:

My code is:

app.router.navigate('/select-company/');

Any help?

You have to call navigate() on a view instance router, for example:

app.views.current.router.navigate(…)

1 Like

I did the test as you mentioned but the message persists.

You are still calling it in a wrong way as error says