1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/Quality/QualityProfileCollection.js
2013-06-25 00:25:33 -07:00

19 lines
435 B
JavaScript

'use strict';
define(
[
'backbone',
'Quality/QualityProfileModel'
], function (Backbone, QualityProfileModel) {
var QualityProfileCollection = Backbone.Collection.extend({
model: QualityProfileModel,
url : window.ApiRoot + '/qualityprofiles'
});
var profiles = new QualityProfileCollection();
profiles.fetch();
return profiles;
});