2013-06-24 23:41:59 +00:00
|
|
|
|
'use strict';
|
2013-06-13 23:19:24 +00:00
|
|
|
|
define(['app',
|
2013-06-19 04:27:41 +00:00
|
|
|
|
'Settings/SettingsModelBase'], function (App, SettingsModelBase) {
|
|
|
|
|
return SettingsModelBase.extend({
|
2013-09-14 07:10:19 +00:00
|
|
|
|
url : window.NzbDrone.ApiRoot + '/settings',
|
2013-06-19 04:27:41 +00:00
|
|
|
|
successMessage: 'Settings saved',
|
2013-06-22 06:24:24 +00:00
|
|
|
|
errorMessage : 'Failed to save settings'
|
2013-03-04 00:09:43 +00:00
|
|
|
|
});
|
2013-05-01 22:42:30 +00:00
|
|
|
|
});
|