inspektor/app/router.js
Sebastian Kippe 5d533d2c08 More connect improvements
* Use extra route for disconnected/initial state
* Style connect screen properly
* Hide widget when connected in favor of custom UI
* Show account info in sidebar header
2017-12-25 10:50:03 +01:00

15 lines
295 B
JavaScript

import EmberRouter from '@ember/routing/router';
import config from './config/environment';
const Router = EmberRouter.extend({
location: config.locationType,
rootURL: config.rootURL
});
Router.map(function() {
this.route('inspect');
this.route('connect');
});
export default Router;