sonarr-repo-only/UI/Settings/Naming/NamingModel.js

10 lines
321 B
JavaScript
Raw Normal View History

2013-04-25 04:27:49 +00:00
"use strict";
2013-06-13 23:19:24 +00:00
define(['app',
'Mixins/SaveIfChangedModel'], function () {
2013-04-25 04:27:49 +00:00
NzbDrone.Settings.Naming.NamingModel = Backbone.Model.extend({
url: NzbDrone.Constants.ApiRoot + '/config/naming'
});
2013-06-13 23:19:24 +00:00
_.extend(NzbDrone.Settings.Naming.NamingModel.prototype, NzbDrone.Mixins.SaveIfChangedModel);
2013-04-25 04:27:49 +00:00
});