Просмотр исходного кода

added route that got lost in merge

Henry Oswald 11 лет назад
Родитель
Сommit
39df8964cf
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      services/web/app/coffee/router.coffee

+ 2 - 1
services/web/app/coffee/router.coffee

@@ -133,7 +133,8 @@ module.exports = class Router
 		# New 'stable' /internal API end points
 		apiRouter.get  '/internal/project/:project_id',     AuthenticationController.httpAuth, ProjectApiController.getProjectDetails
 		apiRouter.get  '/internal/project/:Project_id/zip', AuthenticationController.httpAuth, ProjectDownloadsController.downloadProject
-		
+		apiRouter.get  '/internal/project/:project_id/compile/pdf', AuthenticationController.httpAuth, CompileController.compileAndDownloadPdf
+
 		webRouter.get  /^\/internal\/project\/([^\/]*)\/output\/(.*)$/,
 			((req, res, next) ->
 				params =