Created
November 28, 2015 00:10
-
-
Save oscaroceguera/2cbd4427c1cbc4f695d0 to your computer and use it in GitHub Desktop.
Categories collections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Bookshelf = require('../commons/bookshelf'); | |
var Category = require('../models/category'); | |
var Categories = Bookshelf.Collection.extend({ | |
model : Category | |
}); | |
module.exports = Categories; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment