2020-05-28 11:32:57 -04:00
|
|
|
import Controller from "@ember/controller";
|
2020-10-28 14:30:26 -04:00
|
|
|
import User from "discourse/models/user";
|
2024-01-16 11:51:44 -05:00
|
|
|
import discourseComputed from "discourse-common/utils/decorators";
|
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();
|
|
|
|
},
|
|
|
|
});
|