mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 06:23:39 +08:00
ef6b7bd776
This is a common Ember idiom for easier differentiation between controller and service imports.
14 lines
295 B
JavaScript
14 lines
295 B
JavaScript
import { alias } from "@ember/object/computed";
|
|
import Controller, { inject as controller } from "@ember/controller";
|
|
|
|
export default Controller.extend({
|
|
adminBackups: controller(),
|
|
status: alias("adminBackups.model"),
|
|
|
|
init() {
|
|
this._super(...arguments);
|
|
|
|
this.logs = [];
|
|
}
|
|
});
|