You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
var Marionette = require('marionette');
|
|
|
|
var Controller = require('./Controller');
|
|
|
|
|
|
|
|
module.exports = Marionette.AppRouter.extend({
|
|
|
|
controller : new Controller(),
|
|
|
|
appRoutes : {
|
|
|
|
'addseries' : 'addSeries',
|
|
|
|
'addseries/:action(/:query)' : 'addSeries',
|
|
|
|
'calendar' : 'calendar',
|
|
|
|
'settings' : 'settings',
|
|
|
|
'settings/:action(/:query)' : 'settings',
|
|
|
|
'wanted' : 'wanted',
|
|
|
|
'wanted/:action' : 'wanted',
|
|
|
|
'history' : 'activity',
|
|
|
|
'history/:action' : 'activity',
|
|
|
|
'activity' : 'activity',
|
|
|
|
'activity/:action' : 'activity',
|
|
|
|
'rss' : 'rss',
|
|
|
|
'system' : 'system',
|
|
|
|
'system/:action' : 'system',
|
|
|
|
'seasonpass' : 'seasonPass',
|
|
|
|
'serieseditor' : 'seriesEditor',
|
|
|
|
':whatever' : 'showNotFound'
|
|
|
|
}
|
|
|
|
});
|