mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Merge branch 'unpublished_playable' of git://github.com/ThatOtherPerson/codecombat into ThatOtherPerson-unpublished_playable
This commit is contained in:
commit
c2d81c3f32
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 == null or method == 'get'
|
||||
super(req, document, method)
|
||||
|
||||
module.exports = new LevelHandler()
|
||||
|
|
Loading…
Reference in a new issue