mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 00:12:30 +01:00
14 lines
354 B
JavaScript
14 lines
354 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;
|
|
});
|