11 lines
261 B
JavaScript
11 lines
261 B
JavaScript
var Backbone = require('backbone'),
|
|
Section = require('./section'),
|
|
Globals = require('../globals');
|
|
|
|
var SectionCollection = Backbone.Collection.extend({
|
|
model: Section,
|
|
url: Globals.ApiUrl + '/section'
|
|
});
|
|
|
|
module.exports = SectionCollection;
|