I am building an app with the use of ember-simple-auth.
So it looks very much like the library its doing is thing.
Here is what happens:
- user tries to access /dashboard but is redirected to /
- the route / contains the login form
- the user logs in with valid credentials
- Server responds: /token 200 0.252 ms - 52
- But an error message is shown: Error: Assertion Failed: The route index was not found
- user navigates to /dashboard and can now see the content, navigate around protected areas, and successfully log out.
My question is, how do I define /dashboard as the route instead of index? So that after successful login you are redirected to /dashboard