Hi!
I named a route path “settings/account” and it takes forever to load. I wonder what the problem is?
Here’s my code:
Router.route('/settings/account' {
name: 'settingsAccount',
controller: 'SettingsController',
action: 'account',
where: 'client'
});
And my controller code:
SettingsController = RouteController.extend({
layoutTemplate: 'MainLayout',
main: function () {
this.render('Settings');
},
account: function () {
this.render('SettingsAccount');
}
});
It takes forever to load ‘settings/account’ but not ‘settings/’. Can anyone please help? Thanks!