Fix stylecop in Microsoft.AspNet.Mvc
This commit is contained in:
parent
97e06138ed
commit
ecbc179d76
|
|
@ -259,6 +259,11 @@
|
|||
</Analyzer>
|
||||
<Analyzer AnalyzerId="StyleCop.CSharp.ReadabilityRules">
|
||||
<Rules>
|
||||
<Rule Name="OpeningParenthesisMustBeOnDeclarationLine">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
</RuleSettings>
|
||||
</Rule>
|
||||
<Rule Name="ParameterMustNotSpanMultipleLines">
|
||||
<RuleSettings>
|
||||
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
||||
|
|
|
|||
|
|
@ -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?}");
|
||||
|
|
|
|||
Loading…
Reference in New Issue