mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Merge branch 'ThatOtherPerson-unpublished_playable'
This commit is contained in:
commit
40227e32e5
1 changed files with 3 additions and 0 deletions
|
@ -308,5 +308,8 @@ LevelHandler = class LevelHandler extends Handler
|
|||
@playCountCache[cacheKey] = data
|
||||
@sendSuccess res, data
|
||||
|
||||
hasAccessToDocument: (req, document, method=null) ->
|
||||
return true if method is null or method is 'get'
|
||||
super(req, document, method)
|
||||
|
||||
module.exports = new LevelHandler()
|
||||
|
|
Loading…
Reference in a new issue