overleaf/services/web/app/coffee/Features/PasswordReset/PasswordResetRouter.coffee

10 lines
342 B
CoffeeScript
Raw Normal View History

2014-05-15 11:20:23 -04:00
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