Files
frontend/app/router.js
Dainii feef600052
Some checks failed
CI / Lint (push) Failing after 14m49s
CI / Test (push) Failing after 7m55s
work on jwt auth
2025-01-08 16:49:27 +01:00

18 lines
489 B
JavaScript

import EmberRouter from '@ember/routing/router';
import config from 'holygamesapp/config/environment';
export default class Router extends EmberRouter {
location = config.locationType;
rootURL = config.rootURL;
}
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');
});
});