DSS-5869 Adds Route: application

This commit is contained in:
Seyi Adebajo 2017-02-13 15:05:30 -08:00 committed by Mars Lan
parent 7bbe3acd8c
commit 0a5add448d

View File

@ -0,0 +1,15 @@
import Ember from 'ember';
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
export default Ember.Route.extend(ApplicationRouteMixin, {
init() {
this._super(...arguments);
Ember.run.scheduleOnce('afterRender', this, 'processLegacyDomOperations');
},
processLegacyDomOperations() {
window.legacySearch();
// window.legacyTree();
window.legacyMain();
}
})