Apply suggestions from code review
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Umbraco.Web.Common.Extensions
|
||||
pattern.Append('/').Append(controllerName);
|
||||
}
|
||||
|
||||
pattern.Append('/').Append("{action}/{id?}");
|
||||
pattern.Append("/{action}/{id?}");
|
||||
|
||||
var defaults = defaultAction.IsNullOrWhiteSpace()
|
||||
? (object)new { controller = controllerName }
|
||||
|
||||
Reference in New Issue
Block a user