overleaf/services/web/app/coffee/Features/Contacts/ContactRouter.coffee

9 lines
295 B
CoffeeScript

AuthenticationController = require('../Authentication/AuthenticationController')
ContactController = require "./ContactController"
module.exports =
apply: (webRouter, apiRouter) ->
webRouter.get '/user/contacts',
AuthenticationController.requireLogin(),
ContactController.getContacts