瀏覽代碼

added route that got lost in merge

Henry Oswald 11 年之前
父節點
當前提交
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
 		# New 'stable' /internal API end points
 		apiRouter.get  '/internal/project/:project_id',     AuthenticationController.httpAuth, ProjectApiController.getProjectDetails
 		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/zip', AuthenticationController.httpAuth, ProjectDownloadsController.downloadProject
-		
+		apiRouter.get  '/internal/project/:project_id/compile/pdf', AuthenticationController.httpAuth, CompileController.compileAndDownloadPdf
+
 		webRouter.get  /^\/internal\/project\/([^\/]*)\/output\/(.*)$/,
 		webRouter.get  /^\/internal\/project\/([^\/]*)\/output\/(.*)$/,
 			((req, res, next) ->
 			((req, res, next) ->
 				params =
 				params =