I’m trying to learn Ember as I build for Discourse so forgive me if this is simple. I’m attempting to add a route underneath the userActivity resource. If I understand correctly, I should be able to do something along these lines:
export default {
resource: 'user.userActivity',
map() {
this.route('votes');
}
};
But that doesn’t do it. I’ve read through these two topics:
https://meta.discourse.org/t/add-custom-route-from-initializer/36859