Fixing BackSlashExpander class name

This commit is contained in:
Nick Mayne 2018-01-09 11:37:38 +00:00 committed by Ryan Nowak
parent afc75a8296
commit 6bd421d197
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc.Rendering;
namespace RazorWebSite
{
public class ForwardSlashExpander : IViewLocationExpander
public class BackSlashExpander : IViewLocationExpander
{
public void PopulateValues(ViewLocationExpanderContext context)
{

View File

@ -33,7 +33,7 @@ namespace RazorWebSite
$"{nameof(RazorWebSite)}.EmbeddedResources"));
options.FileProviders.Add(updateableFileProvider);
options.ViewLocationExpanders.Add(new NonMainPageViewLocationExpander());
options.ViewLocationExpanders.Add(new ForwardSlashExpander());
options.ViewLocationExpanders.Add(new BackSlashExpander());
})
.AddViewOptions(options =>
{