根据文档,我应该在我的config/environment.js文件中放置routeAfterAuthentication.
我的environment.js包含以下内容:
module.exports = function(environment) {
var ENV = {
modulePrefix: 'client',
environment: environment,
baseURL: '',
locationType: 'auto',
routeAfterAuthentication: 'dashboard',
...
Run Code Online (Sandbox Code Playgroud)
但是,它仍未被重定向到仪表板路由并显示未定义索引路由.
我在这里错过了什么吗?