Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Router.map(function() {
this.route('logout');
this.route('oauth', { path: '/oauth/callback' });
this.route('public', { path: '/e/:event_id' }, function() {
this.route('sessions-index', { path: '/sessions' });
this.route('sessions', { path: '/schedule' });
this.route('session', function() {
this.route('view', { path: '/:session_id' });
Expand Down
11 changes: 11 additions & 0 deletions app/routes/public/sessions-index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import classic from 'ember-classic-decorator';
import Route from '@ember/routing/route';

@classic
export default class SessionsIndex extends Route {
beforeModel() {
// We don't want to process or transition in fastboot mode
// Since this is only an intermediate page
return this.transitionTo('public.sessions');
}
}