var OrderModel = require('../models/m_order');

var OrderCollection = Backbone.Collection.extend({
  model: OrderModel,
  url: "/api/users/self/orders"
});

module.exports = OrderCollection;

var OrderModel = require('../models/m_order');

var OrderCollection = Backbone.Collection.extend({
  model: OrderModel,
  url: "/api/orders"
});

module.exports = OrderCollection;

Change URL so it matches json-server
Change URL so it matches json-server
