mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
A bit more CoffeeScripty on the style. Fixes #1558.
This commit is contained in:
parent
c2d81c3f32
commit
d610b1633f
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue