2020-05-28 11:32:57 -04:00
|
|
|
import Controller from "@ember/controller";
|
2020-10-28 14:30:26 -04:00
|
|
|
import discourseComputed from "discourse-common/utils/decorators";
|
|
|
|
import User from "discourse/models/user";
|
2020-05-28 11:32:57 -04:00
|
|
|
|
2020-10-28 14:30:26 -04:00
|
|
|
export default Controller.extend({
|
|
|
|
@discourseComputed()
|
|
|
|
isLoggedIn() {
|
|
|
|
return User.current();
|
|
|
|
},
|
|
|
|
});
|