by category page

This commit is contained in:
Edin Dazdarevic
2015-02-04 06:51:49 +01:00
parent 67e31fe716
commit 6fc5969fe6
7 changed files with 105 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
var Backbone = require('backbone');
var Globals = require('../globals');
var Category = Backbone.Model.extend({
urlRoot : Globals.ApiUrl + '/category',
defaults : {
name: ''
}
});
module.exports = Category;