codecombat/app/collections/SimulatorsLeaderboardCollection.coffee

12 lines
311 B
CoffeeScript
Raw Normal View History

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