1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

refactored license/smtp/genral settings UI

This commit is contained in:
Harvey Kandola 2017-11-28 12:27:50 +00:00
parent fd6b4c051b
commit 75aa00beca
19 changed files with 221 additions and 117 deletions

View file

@ -10,17 +10,14 @@
// https://documize.com
import { inject as service } from '@ember/service';
import Controller from '@ember/controller';
import NotifierMixin from "../../../mixins/notifier";
export default Controller.extend(NotifierMixin, {
export default Controller.extend({
orgService: service('organization'),
actions: {
save() {
return this.get('orgService').save(this.model.general).then(() => {
this.showNotification('Saved');
});
}
}