A bit more CoffeeScripty on the style. Fixes .

This commit is contained in:
Nick Winter 2014-09-19 08:17:30 -07:00
parent c2d81c3f32
commit d610b1633f

View file

@ -309,7 +309,7 @@ LevelHandler = class LevelHandler extends Handler
@sendSuccess res, data
hasAccessToDocument: (req, document, method=null) ->
return true if method == null or method == 'get'
return true if method is null or method is 'get'
super(req, document, method)
module.exports = new LevelHandler()