mirror of
https://ghfast.top/https://github.com/discourse/discourse-follow.git
synced 2026-07-15 11:36:38 +08:00
14 lines
398 B
JavaScript
14 lines
398 B
JavaScript
export default {
|
|
resource: "user",
|
|
map() {
|
|
this.route(
|
|
"follow",
|
|
{ path: "/follow", resetNamespace: true },
|
|
function () {
|
|
this.route("feed", { path: "/feed", resetNamespace: true });
|
|
this.route("followers", { path: "/followers", resetNamespace: true });
|
|
this.route("following", { path: "/following", resetNamespace: true });
|
|
}
|
|
);
|
|
},
|
|
};
|