mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 18:15:52 -05:00
7ae3bd5a60
Fix ladder_view and ladder_tab. Change error handling functions in CocoView.
8 lines
No EOL
263 B
CoffeeScript
8 lines
No EOL
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 |