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

10 lines
295 B
CoffeeScript
Raw Normal View History

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