/client/src/collections/contacts.js
JavaScript | 7 lines | 6 code | 1 blank | 0 comment | 0 complexity | fa8e52ca7908e923f5cabea29f3fb81e MD5 | raw file
- var Backbone = require('backbone'),
- ContactModel = require('../models/contact');
- module.exports = ContactsCollection = Backbone.Collection.extend({
- model: ContactModel,
- url: '/api/contacts'
- });