mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
Added a line for testing the loading system.
This commit is contained in:
parent
94c4179417
commit
25f72a58e6
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ module.exports = class Handler
|
||||||
@sendSuccess(res, documents)
|
@sendSuccess(res, documents)
|
||||||
|
|
||||||
getById: (req, res, id) ->
|
getById: (req, res, id) ->
|
||||||
|
# return @sendNotFoundError(res) # for testing
|
||||||
return @sendUnauthorizedError(res) unless @hasAccess(req)
|
return @sendUnauthorizedError(res) unless @hasAccess(req)
|
||||||
|
|
||||||
@getDocumentForIdOrSlug id, (err, document) =>
|
@getDocumentForIdOrSlug id, (err, document) =>
|
||||||
|
|
Loading…
Reference in a new issue