Skip to content

Commit

Permalink
Update RazorExtensions.cs (dotnet/aspnetcore#31029)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/aspnetcore@35bb1b86e73c
  • Loading branch information
captainsafia authored Mar 18, 2021
1 parent 536945e commit 33f1790
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public static void Register(RazorProjectEngineBuilder builder)
builder.Features.Add(new ModelExpressionPass());
builder.Features.Add(new PagesPropertyInjectionPass());
builder.Features.Add(new ViewComponentTagHelperPass());
builder.Features.Add(new RazorPageDocumentClassifierPass());

builder.Features.Add(new RazorPageDocumentClassifierPass(builder.Configuration.UseConsolidatedMvcViews));
builder.Features.Add(new MvcViewDocumentClassifierPass(builder.Configuration.UseConsolidatedMvcViews));
Expand Down

0 comments on commit 33f1790

Please sign in to comment.