You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
414 B
17 lines
414 B
NzbDrone = new Backbone.Marionette.Application();
|
|
|
|
NzbDrone.MyRouter = Backbone.Marionette.AppRouter.extend({
|
|
|
|
// "someMethod" must exist at controller.someMethod
|
|
appRoutes: {
|
|
"add": "AddSeries",
|
|
"add/new": "AddNewSeries",
|
|
"add/existing": "AddExistingSeries",
|
|
}
|
|
|
|
});
|
|
|
|
NzbDrone.addInitializer(function (options) {
|
|
new NzbDrone.MyRouter();
|
|
Backbone.history.start();
|
|
}); |