overleaf/services/web/app/coffee/Features/PasswordReset/PasswordResetRouter.coffee
2014-05-15 16:20:23 +01:00

9 lines
342 B
CoffeeScript

module.exports =
apply: (app) ->
app.get '/user/password/reset', PasswordResetController.renderRequestReset
app.post '/user/password/reset', ProjectDownloadsController.requestRest
app.get '/user/password/set', PasswordResetController.renderSetPassword
app.post '/user/password/set', PasswordResetController.setNewUserPassword