14 lines
316 B
JavaScript
14 lines
316 B
JavaScript
import Route from "@ember/routing/route";
|
|
|
|
export default Route.extend({
|
|
templateName: "user/billing",
|
|
|
|
setupController(controller, model) {
|
|
if (this.currentUser.id !== this.modelFor("user").id) {
|
|
this.replaceWith("userActivity");
|
|
} else {
|
|
controller.setProperties({ model });
|
|
}
|
|
},
|
|
});
|