mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
f1f020a50d
Remove old comment
11 lines
300 B
CoffeeScript
11 lines
300 B
CoffeeScript
Course = require 'models/Course'
|
|
CocoCollection = require 'collections/CocoCollection'
|
|
|
|
module.exports = class Courses extends CocoCollection
|
|
model: Course
|
|
url: '/db/course'
|
|
|
|
fetchReleased: (options = {}) ->
|
|
options.data ?= {}
|
|
options.data.releasePhase = 'released'
|
|
@fetch(options)
|