protected route
This commit is contained in:
parent
72c957f8dc
commit
eb1a8bb6e3
41 changed files with 56 additions and 43 deletions
9
app/pods/protected/index/route.js
Normal file
9
app/pods/protected/index/route.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
import Ember from 'ember';
|
||||
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
|
||||
|
||||
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
||||
beforeModel: function(transition) {
|
||||
this._super(transition);
|
||||
this.transitionTo('protected.compare');
|
||||
}
|
||||
});
|
1
app/pods/protected/index/template.hbs
Normal file
1
app/pods/protected/index/template.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
Welcome
|
Reference in a new issue