Sha256: f5a30232855fef9a056a75d55e571ba8db2d51aff11b78fffa703f9ada5e1c03

Contents?: true

Size: 207 Bytes

Versions: 85

Compression:

Stored size: 207 Bytes

Contents

Spree.Models.StockItem = Backbone.Model.extend({
  paramRoot: 'stock_item',
  urlRoot: function() {
    return Spree.pathFor('api/stock_locations/' + this.get('stock_location_id') + '/stock_items');
  }
});

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
solidus_backend-4.4.2 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.4.1 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.4.0 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.3.4 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.2.4 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.1.5 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.3.3 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.3.2 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.1.4 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.3.1 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.3.0 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.2.3 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.1.3 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.0.4 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-3.4.6 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.0.3 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.1.2 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.2.2 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-3.4.5 app/assets/javascripts/spree/backend/models/stock_item.js
solidus_backend-4.2.1 app/assets/javascripts/spree/backend/models/stock_item.js