mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 09:49:00 +00:00
7093f352fe
backbone app is now fully served from nancy including css,js,html
13 lines
350 B
JavaScript
13 lines
350 B
JavaScript
define(['app', 'Quality/QualityProfileModel'], function () {
|
|
|
|
var qualityProfileCollection = Backbone.Collection.extend({
|
|
model:NzbDrone.Quality.QualityProfileModel,
|
|
url:NzbDrone.Constants.ApiRoot + '/qualityprofiles'
|
|
});
|
|
|
|
var profiles = new qualityProfileCollection();
|
|
|
|
profiles.fetch();
|
|
|
|
return profiles;
|
|
});
|