mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
1225bbe8dc
New: Renamed history to activity New: Queue is default tab of activity
33 lines
1.2 KiB
JavaScript
33 lines
1.2 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' : 'activity',
|
|
'history/:action' : 'activity',
|
|
'activity' : 'activity',
|
|
'activity/:action' : 'activity',
|
|
'rss' : 'rss',
|
|
'system' : 'system',
|
|
'system/:action' : 'system',
|
|
'seasonpass' : 'seasonPass',
|
|
'serieseditor' : 'seriesEditor',
|
|
':whatever' : 'showNotFound'
|
|
}
|
|
});
|
|
});
|
|
|