Add download links

This commit is contained in:
2016-05-06 11:19:01 -04:00
parent 972bb04291
commit f4ebeefad1
12 changed files with 109 additions and 29 deletions
+5 -2
View File
@@ -19,9 +19,12 @@ namespace LeafWeb.Web.Controllers
}
[ActionLog]
public FileContentResult DownloadResults(int id)
public ActionResult Download(string token)
{
var leafInput = DataService.GetLeafInput(id);
var leafInput = DataService.GetLeafInput(token);
if (leafInput == null)
return View("DownloadNotFound");
var zip = leafInput.GetOutputFileZip();