Leaf Input and Submit
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
using Backload.Bundles;
|
||||
using LeafWeb.Core.DAL;
|
||||
using Umbraco.Core;
|
||||
@@ -13,6 +15,13 @@ namespace LeafWeb.WebCms.App_Start
|
||||
HangfireBootstrapper.Instance.Start();
|
||||
BackloadBundles.RegisterBundles(BundleTable.Bundles);
|
||||
|
||||
// route for downloading results
|
||||
RouteTable.Routes.MapRoute(
|
||||
"ResultsDownload", // Route name
|
||||
"Results/Download", // URL with parameters
|
||||
new { controller = "Results", action = "Download" } // Parameter defaults
|
||||
);
|
||||
|
||||
base.ApplicationStarted(umbracoApplication, applicationContext);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user