diff --git a/front-api/db/migrate/20160111104754_add_recipient_address_to_cart.rb b/front-api/db/migrate/20160111104754_add_recipient_address_to_cart.rb deleted file mode 100644 index 5a08cf7..0000000 --- a/front-api/db/migrate/20160111104754_add_recipient_address_to_cart.rb +++ /dev/null @@ -1,5 +0,0 @@ -class AddRecipientAddressToCart < ActiveRecord::Migration - def change - add_column :carts, :recipient_destination_id, :integer - end -end diff --git a/front-ui/app/models/recipientDestination.js b/front-ui/app/models/recipientDestination.js deleted file mode 100644 index f38f137..0000000 --- a/front-ui/app/models/recipientDestination.js +++ /dev/null @@ -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;