discourse-subscriptions/assets/javascripts/discourse/controllers/subscribe-index.js

11 lines
265 B
JavaScript

import Controller from "@ember/controller";
import User from "discourse/models/user";
import discourseComputed from "discourse-common/utils/decorators";
export default Controller.extend({
@discourseComputed()
isLoggedIn() {
return User.current();
},
});