mirror of
https://github.com/Radarr/Radarr
synced 2024-12-28 02:40:01 +00:00
663160c06a
renamed NzbDrone.Backbone to UI
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;
|
|
});
|