Skip to content

Commit

Permalink
Fixed bug in when limiting available block types for posts. Fixes #1633
Browse files Browse the repository at this point in the history
  • Loading branch information
tidyui committed May 18, 2021
1 parent 7f51104 commit fe7fd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Piranha.Manager/Controllers/ContentApiController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public BlockListModel GetBlockTypesForPage(string pageType, string parentType =
[HttpGet]
public BlockListModel GetBlockTypesForPost(string postType, string parentType = null)
{
return _contentType.GetPageBlockTypes(postType, parentType);
return _contentType.GetPostBlockTypes(postType, parentType);
}

/// <summary>
Expand Down

0 comments on commit fe7fd28

Please sign in to comment.