Merge pull request #1551 from aspnet/rynowak/allow-pages

React to breaking change in MVC
This commit is contained in:
Ryan Nowak 2018-01-02 15:49:45 -08:00 committed by GitHub
commit 0baa738120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace Microsoft.AspNetCore.Identity.UI
public IHostingEnvironment Environment { get; }
public void Configure(RazorPagesOptions options) => options.EnableAreas = true;
public void Configure(RazorPagesOptions options) => options.AllowAreas = true;
public void Configure(RazorViewEngineOptions options) =>
options.FileProviders.Add(new ManifestEmbeddedFileProvider(GetType().Assembly));