codecombat/app/collections/RecentlyPlayedCollection.coffee
2014-07-21 14:36:10 +02:00

9 lines
287 B
CoffeeScript

CocoCollection = require './CocoCollections'
LevelSession = require 'models/LevelSession'
module.exports = class RecentlyPlayedCollection extends CocoCollection
model: LevelSession
constructor: (userID, options) ->
@url = "/db/user/#{userID}/recently_played"
super options