* DEV: Discourse.Route -> DiscourseRoute with import * ran prettier on all routes * prettiered one more file
15 lines
319 B
JavaScript
15 lines
319 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default DiscourseRoute.extend({
|
|
controllerName: "user-notifications",
|
|
renderTemplate() {
|
|
this.render("user/notifications-index");
|
|
},
|
|
|
|
afterModel(model) {
|
|
if (!model) {
|
|
this.transitionTo("userNotifications.responses");
|
|
}
|
|
}
|
|
});
|