Permalink
Browse files

updating persistable

  • Loading branch information...
robrobbins committed Apr 15, 2013
1 parent 098c14b commit c5cdd69d37809bf7455dcc072b17076f56e40c8c
Showing with 2 additions and 2 deletions.
  1. +2 −2 extras/extensions/persistable.js
@@ -36,7 +36,7 @@ sudo.extensions.persistable = {
//
// `param` {object} `params` Optional hash of options for the XHR
// `returns` {object} jqXhr
- destroy: function _delete(params) {
+ destroy: function destroy(params) {
return this._sendData_('DELETE', params);
},
// ###_normalizeParams_
@@ -72,7 +72,7 @@ sudo.extensions.persistable = {
// `param` {object} `params`. Optional info for the XHR call. If
// present will override any set in this model's `ajax` options object.
// `returns` {object} The jQuery XHR object
- read: function post(params) {
+ read: function read(params) {
return $.ajax(this._normalizeParams_('GET', null, params));
},
// ###save

0 comments on commit c5cdd69

Please sign in to comment.