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.
Lidarr/src/UI/Router.js

25 lines
1.0 KiB

10 years ago
var Marionette = require('marionette');
var Controller = require('./Controller');
12 years ago
10 years ago
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',
10 years ago
':whatever' : 'showNotFound'
}
});