13 lines
262 B
JavaScript
13 lines
262 B
JavaScript
export default Discourse.Route.extend({
|
|
controllerName: "user-notifications",
|
|
renderTemplate() {
|
|
this.render("user/notifications-index");
|
|
},
|
|
|
|
afterModel(model) {
|
|
if (!model) {
|
|
this.transitionTo("userNotifications.responses");
|
|
}
|
|
}
|
|
});
|