mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 08:01:42 +08:00
REFACTOR: Remove Ember.Controller
in favor of import
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { default as computed } from "ember-addons/ember-computed-decorators";
|
||||
import { setting, i18n } from "discourse/lib/computed";
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
export default Controller.extend({
|
||||
adminBackups: Ember.inject.controller(),
|
||||
status: Ember.computed.alias("adminBackups.model"),
|
||||
uploadLabel: i18n("admin.backups.upload.label"),
|
||||
|
Reference in New Issue
Block a user