mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 11:19:05 +00:00
DSS-5869 Adds Route: index, Adds Template: index
This commit is contained in:
parent
0a5add448d
commit
b3fda9c5e7
16
wherehows-web/app/routes/index.js
Normal file
16
wherehows-web/app/routes/index.js
Normal file
@ -0,0 +1,16 @@
|
||||
import Ember from 'ember';
|
||||
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
||||
|
||||
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
|
||||
Ember.run.scheduleOnce('afterRender', null, () => {
|
||||
Ember.$('#dashboardtabs a:first').tab('show');
|
||||
});
|
||||
},
|
||||
|
||||
redirect() {
|
||||
this.transitionTo('datasets.page', 1);
|
||||
}
|
||||
});
|
||||
1
wherehows-web/app/templates/index.hbs
Normal file
1
wherehows-web/app/templates/index.hbs
Normal file
@ -0,0 +1 @@
|
||||
{{outlet}}
|
||||
Loading…
x
Reference in New Issue
Block a user