Added resimulateAllSessions route

This commit is contained in:
Michael Schmatz 2014-03-22 09:17:14 -07:00
parent 5141873725
commit 13a74ba560

View file

@ -14,6 +14,10 @@ module.exports.setup = (app) ->
handler = loadQueueHandler 'scoring'
handler.messagesInQueueCount req, res
app.post '/queue/scoring/resimulateAllSessions', (req, res) ->
handler = loadQueueHandler 'scoring'
handler.resimulateAllSessions req, res
app.all '/queue/*', (req, res) ->
setResponseHeaderToJSONContentType res