This repository was archived by the owner on Apr 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Our.Umbraco.BlockListMvc/Controllers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public TModel Model
2222 get { return ( TModel ) ControllerContext . RouteData . Values [ "blockListItem" ] ; }
2323 }
2424
25- public BlockListItemContext BlockListItemContext
25+ public BlockListItemContext BlockContext
2626 {
2727 get { return ( BlockListItemContext ) ControllerContext . RouteData . Values [ "blockListItemContext" ] ; }
2828 }
@@ -37,9 +37,9 @@ public string ContentTypeAlias
3737 get { return ControllerContext . RouteData . Values [ "blockListItemContentTypeAlias" ] as string ?? string . Empty ; }
3838 }
3939
40- protected void SetBlockListItemContext ( )
40+ protected void SetBlockContext ( )
4141 {
42- ViewData [ Constants . BlockListItemContextViewDataKey ] = BlockListItemContext ;
42+ ViewData [ Constants . BlockListItemContextViewDataKey ] = BlockContext ;
4343 }
4444
4545 protected PartialViewResult CurrentPartialView ( object model = null )
@@ -59,7 +59,7 @@ protected PartialViewResult CurrentPartialView(object model = null)
5959
6060 protected override PartialViewResult PartialView ( string viewName , object model )
6161 {
62- SetBlockListItemContext ( ) ;
62+ SetBlockContext ( ) ;
6363
6464 if ( string . IsNullOrWhiteSpace ( ViewPath ) == false )
6565 {
You can’t perform that action at this time.
0 commit comments