mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-23 02:05:27 +02:00
16 lines
477 B
JavaScript
16 lines
477 B
JavaScript
(function (nzbDrone, backbone) {
|
|
nzbDrone.AppRouter = backbone.Marionette.AppRouter.extend({
|
|
|
|
controller: new nzbDrone.AppController(),
|
|
|
|
appRoutes: {
|
|
'': 'home',
|
|
'wines': 'list',
|
|
'wines/page/:page': 'list',
|
|
'wines/add': 'addWine',
|
|
'wines/:id': 'wineDetails',
|
|
'about': 'about',
|
|
'search/:searchTerm': 'handleSearch'
|
|
}
|
|
});
|
|
})(window.NzbDrone, window.Backbone);s |