Delete unnecessary files
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
class AddRecipientAddressToCart < ActiveRecord::Migration
|
|
||||||
def change
|
|
||||||
add_column :carts, :recipient_destination_id, :integer
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
var Backbone = require('backbone');
|
|
||||||
var Globals = require('../globals');
|
|
||||||
|
|
||||||
var RecipientDestination = Backbone.Model.extend({
|
|
||||||
|
|
||||||
initialize: function() {
|
|
||||||
$.ajaxPrefilter(
|
|
||||||
function(options, originalOptions, jqXHR) {
|
|
||||||
options.xhrFields = {
|
|
||||||
withCredentials: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
url: Globals.ApiUrl + '/cart/recipient_destination',
|
|
||||||
defaults: {
|
|
||||||
count: 0
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
module.exports = RecipientDestination;
|
|
||||||
Reference in New Issue
Block a user