Refactor and fix tests

This commit is contained in:
Stephan
2017-09-20 20:06:46 +02:00
parent bcf3916e54
commit dca3b74542
61 changed files with 924 additions and 719 deletions

View File

@@ -119,7 +119,7 @@ namespace Umbraco.Web
// set the default RenderMvcController
Current.DefaultRenderMvcControllerType = typeof(RenderMvcController); // fixme WRONG!
ActionCollectionBuilder.Register(composition.Container)
composition.Container.RegisterCollectionBuilder<ActionCollectionBuilder>()
.SetProducer(() => typeLoader.GetActions());
var surfaceControllerTypes = new SurfaceControllerTypeCollection(typeLoader.GetSurfaceControllers());