1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/src/UI/Router.js
Taloth Saldono d416dd4177 Repurposed the Missing page to include filter options and display episodes that haven't reached cutoff.
--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
2014-02-22 16:21:40 -08:00

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'
}
});
});