Gets lots of the new installer logic working
This commit is contained in:
@@ -46,6 +46,15 @@ namespace Umbraco.Web.Install.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
//get a package GUID
|
||||
var r = new org.umbraco.our.Repository();
|
||||
var modules = r.Modules();
|
||||
var defaultPackageId = modules.First().RepoGuid;
|
||||
ViewBag.DefaultPackageId = defaultPackageId;
|
||||
|
||||
//gen the install base url
|
||||
ViewBag.InstallApiBaseUrl = Url.GetUmbracoApiService("GetSetup", "InstallApi", "install").TrimEnd("GetSetup");
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user