codecombat/app/collections/SimulatorsLeaderboardCollection.coffee
2014-04-13 02:35:58 +01:00

11 lines
306 B
CoffeeScript

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)}"