Merge branch 'unpublished_playable' of git://github.com/ThatOtherPerson/codecombat into ThatOtherPerson-unpublished_playable

This commit is contained in:
Nick Winter 2014-09-19 08:12:20 -07:00
commit c2d81c3f32

View file

@ -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()