mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
10 lines
295 B
CoffeeScript
10 lines
295 B
CoffeeScript
|
AuthenticationController = require('../Authentication/AuthenticationController')
|
||
|
ContactController = require "./ContactController"
|
||
|
|
||
|
module.exports =
|
||
|
apply: (webRouter, apiRouter) ->
|
||
|
webRouter.get '/user/contacts',
|
||
|
AuthenticationController.requireLogin(),
|
||
|
ContactController.getContacts
|
||
|
|