codecombat/app/collections/ComponentsCollection.coffee

6 lines
231 B
CoffeeScript

LevelComponent = require 'models/LevelComponent'
CocoCollection = require 'collections/CocoCollection'
module.exports = class ComponentsCollection extends CocoCollection
url: '/db/level.component/search'
model: LevelComponent