1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Web/_backboneApp/Quality/qualityProfileCollection.js
kay.one c01f982698 removed series layout.
datatables doesn't load properly.
2013-02-15 16:53:00 -08:00

14 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;
});