mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Added backbone
This commit is contained in:
parent
b366f8fadc
commit
b101758957
28 changed files with 5507 additions and 3 deletions
16
NzbDrone.Web/Scripts/backbone/router.js
Normal file
16
NzbDrone.Web/Scripts/backbone/router.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
(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
|
Loading…
Add table
Add a link
Reference in a new issue