mirror of
https://gitlab.silvrtree.co.uk/martind2000/censis-archive.git
synced 2025-01-11 14:45:09 +00:00
13 lines
319 B
JavaScript
13 lines
319 B
JavaScript
import Ember from 'ember';
|
|
const { inject: { service } } = Ember;
|
|
|
|
export default Ember.Route.extend({
|
|
sessionAccount: service('session-account'),
|
|
beforeModel() {
|
|
const cid = this.get('sessionAccount.account.memberof');
|
|
if (typeof cid === 'undefined') {
|
|
this.transitionTo('newcompany');
|
|
}
|
|
}
|
|
});
|