Add download links
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user