mirror of
https://github.com/documize/community.git
synced 2025-08-04 13:05:23 +02:00
License key workflow improved
Co-Authored-By: Saul S <sauls8t@users.noreply.github.com>
This commit is contained in:
parent
27fde0dac8
commit
30856433f8
6 changed files with 14 additions and 25 deletions
|
@ -11,7 +11,6 @@
|
|||
|
||||
import { inject as service } from '@ember/service';
|
||||
import Route from '@ember/routing/route';
|
||||
import RSVP from 'rsvp';
|
||||
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
||||
|
||||
export default Route.extend(AuthenticatedRouteMixin, {
|
||||
|
@ -26,9 +25,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
|
||||
model() {
|
||||
return RSVP.hash({
|
||||
license: this.get('global').getLicense()
|
||||
});
|
||||
return this.get('global').getLicense();
|
||||
},
|
||||
|
||||
activate() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue