This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/routes/user-activity.js.es6
Sam a8b5192efd FEATURE: User page refactor
Re-organise user page so it is easier to find interesting info
split it into tabs

- Introduce notifications and messages tabs
- Stop couting stuff for the user page to speed up rendering
- Suppress more information when viewing your own profile
2015-12-20 16:45:49 +11:00

10 lines
198 B
JavaScript

export default Discourse.Route.extend({
model() {
return this.modelFor("user");
},
setupController(controller, user) {
this.controllerFor("user-activity").set("model", user);
}
});