Radarr/src/UI/Profile/ProfileCollection.js
Mark McDowall 74a38415cf Profiles
Indexes are created with the same uniqueness when copying a table

New: Non-English episode support
New: Renamed Quality Profiles to Profiles and made them more powerful
New: Configurable wait time before grabbing a release to wait for a better quality
2014-07-25 23:21:44 -07:00

18 lines
398 B
JavaScript

'use strict';
define(
[
'backbone',
'Profile/ProfileModel'
], function (Backbone, ProfileModel) {
var ProfileCollection = Backbone.Collection.extend({
model: ProfileModel,
url : window.NzbDrone.ApiRoot + '/profile'
});
var profiles = new ProfileCollection();
profiles.fetch();
return profiles;
});