work on jwt auth
This commit is contained in:
@@ -8,4 +8,10 @@ export default class Router extends EmberRouter {
|
||||
|
||||
Router.map(function() {
|
||||
this.route('login');
|
||||
this.route('authenticated', { path: '' }, function() {
|
||||
// all routes that require the session to be authenticated
|
||||
this.route('index', { path: '' });
|
||||
this.route('editions');
|
||||
this.route('venues');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user