overleaf/services/web/app/coffee/Features/Analytics/AnalyticsRouter.coffee

6 lines
173 B
CoffeeScript
Raw Normal View History

AnalyticsController = require('./AnalyticsController')
module.exports =
apply: (webRouter, apiRouter) ->
webRouter.post '/event/:event', AnalyticsController.recordEvent