Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Commit

Permalink
Reacting to aspnet/Mvc#6462
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkm committed Jun 30, 2017
1 parent 81fa36f commit d801bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testapps/RazorPagesApp/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void ConfigureMvc(IMvcBuilder builder)
builder.AddRazorPagesOptions(options =>
{
options.RootDirectory = "/Pages";
options.AuthorizeFolder("/Auth");
options.Conventions.AuthorizeFolder("/Auth");
});
}
}
Expand Down

0 comments on commit d801bdc

Please sign in to comment.