mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
663160c06a
renamed NzbDrone.Backbone to UI
14 lines
350 B
JavaScript
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;
|
|
});
|