mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
parent
4445f41801
commit
4e082b4159
26 changed files with 937 additions and 611 deletions
|
@ -1,15 +1,16 @@
|
|||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
||||
import Ember from 'ember';
|
||||
import RSVP from 'rsvp';
|
||||
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
||||
|
||||
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
||||
|
@ -25,10 +26,13 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|||
|
||||
model() {
|
||||
let orgId = this.get("appMeta.orgId");
|
||||
return this.get('orgService').getOrg(orgId);
|
||||
|
||||
return RSVP.hash({
|
||||
general: this.get('orgService').getOrg(orgId)
|
||||
});
|
||||
},
|
||||
|
||||
activate() {
|
||||
document.title = "Settings | Documize";
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue