codecombat/app/collections/SimulatorsLeaderboardCollection.coffee

12 lines
306 B
CoffeeScript
Raw Normal View History

2014-04-12 17:13:26 -04:00
CocoCollection = require 'models/CocoCollection'
User = require 'models/User'
module.exports = class SimulatorsLeaderboardCollection extends CocoCollection
url: ''
model: User
constructor: (options) ->
super()
options ?= {}
@url = "/db/user/me/simulatorLeaderboard?#{$.param(options)}"