1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/src/UI/Router.js
Mark McDowall 1225bbe8dc Activity instead of History
New: Renamed history to activity
New: Queue is default tab of activity
2014-10-12 00:32:56 -07:00

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