mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
30 lines
1.1 KiB
JavaScript
30 lines
1.1 KiB
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'marionette',
|
|
'Controller'
|
|
], function (Marionette, Controller) {
|
|
|
|
return Marionette.AppRouter.extend({
|
|
|
|
controller: new Controller(),
|
|
appRoutes : {
|
|
'addseries' : 'addSeries',
|
|
'addseries/:action(/:query)': 'addSeries',
|
|
'calendar' : 'calendar',
|
|
'settings' : 'settings',
|
|
'settings/:action(/:query)' : 'settings',
|
|
'missing' : 'missing',
|
|
'history' : 'history',
|
|
'history/:action' : 'history',
|
|
'rss' : 'rss',
|
|
'system' : 'system',
|
|
'system/:action' : 'system',
|
|
'seasonpass' : 'seasonPass',
|
|
'serieseditor' : 'seriesEditor',
|
|
':whatever' : 'showNotFound'
|
|
}
|
|
});
|
|
});
|
|
|