From ecbc179d76cd16037306afc39438eedf4895a0a5 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Wed, 4 Jun 2014 20:06:42 -0700 Subject: [PATCH] Fix stylecop in Microsoft.AspNet.Mvc --- Settings.StyleCop | 5 +++++ src/Microsoft.AspNet.Mvc/BuilderExtensions.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Settings.StyleCop b/Settings.StyleCop index e4c19d4399..a6345aaf91 100644 --- a/Settings.StyleCop +++ b/Settings.StyleCop @@ -259,6 +259,11 @@ + + + False + + False diff --git a/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs b/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs index 24248742e8..3cb938763a 100644 --- a/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs +++ b/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNet.Builder return app.UseMvc(routes => { // Action style actions - routes.MapRoute(null, "{controller}/{action}/{id?}", new { controller = "Home" , action = "Index" }); + routes.MapRoute(null, "{controller}/{action}/{id?}", new { controller = "Home", action = "Index" }); // Rest style actions routes.MapRoute(null, "{controller}/{id?}");