mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 03:23:42 -05:00
8 lines
263 B
CoffeeScript
8 lines
263 B
CoffeeScript
|
CocoCollection = require 'models/CocoCollection'
|
||
|
|
||
|
module.exports = class ModelFiles extends CocoCollection
|
||
|
constructor: (model) ->
|
||
|
super()
|
||
|
url = model.constructor.prototype.urlRoot
|
||
|
url += "/#{model.get('original') or model.id}/files"
|
||
|
@url = url
|