mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Limit to Razor View Engine
This commit is contained in:
parent
5a6d99a069
commit
5c778dcff8
|
@ -10,6 +10,10 @@ public class MvcApplication : System.Web.HttpApplication
|
|||
{
|
||||
protected void Application_Start()
|
||||
{
|
||||
// Don't bother looking for the legacy aspx view engine.
|
||||
ViewEngines.Engines.Clear();
|
||||
ViewEngines.Engines.Add(new RazorViewEngine());
|
||||
|
||||
AreaRegistration.RegisterAllAreas();
|
||||
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
|
|
Loading…
Reference in New Issue
Block a user