Ghost/ghost/admin/app/routes/member.js
Kevin Ansfield 7ec48b36e0 First pass at members list
no issue
- don't nest details route as it's not nested UI
- implement styled list of members
- add `<MemberAvatar>` component that generates random background colour and initials based on member name
- fixed generation of fake member details in mirage
2019-01-24 19:34:32 +00:00

10 lines
254 B
JavaScript

import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
export default AuthenticatedRoute.extend({
// TODO: add model method to load member if not passed in
titleToken() {
return this.controller.get('member.name');
}
});