mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
d416dd4177
--HG-- rename : src/NzbDrone.Api/Missing/MissingModule.cs => src/NzbDrone.Api/Wanted/MissingModule.cs rename : src/UI/Missing/ControlsColumnTemplate.html => src/UI/Wanted/ControlsColumnTemplate.html rename : src/UI/Missing/MissingCollection.js => src/UI/Wanted/Missing/MissingCollection.js rename : src/UI/Missing/MissingLayout.js => src/UI/Wanted/WantedLayout.js rename : src/UI/Missing/MissingLayoutTemplate.html => src/UI/Wanted/WantedLayoutTemplate.html extra : source : 2c76f3e423d39446f3bd7799b7344d7be63c70f5
31 lines
1.1 KiB
JavaScript
31 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',
|
|
'wanted' : 'wanted',
|
|
'wanted/:action' : 'wanted',
|
|
'history' : 'history',
|
|
'history/:action' : 'history',
|
|
'rss' : 'rss',
|
|
'system' : 'system',
|
|
'system/:action' : 'system',
|
|
'seasonpass' : 'seasonPass',
|
|
'serieseditor' : 'seriesEditor',
|
|
':whatever' : 'showNotFound'
|
|
}
|
|
});
|
|
});
|
|
|