Set actionName in url as camelCase.

pull/116/head
Halil İbrahim Kalkan 7 years ago
parent d1816d4a72
commit d973ac8767

@ -261,7 +261,7 @@ namespace Volo.Abp.AspNetCore.Mvc
var actionNameInUrl = NormalizeUrlActionName(rootPath, controllerName, action, httpMethod);
if (!actionNameInUrl.IsNullOrEmpty())
{
url += $"/{actionNameInUrl}";
url += $"/{actionNameInUrl.ToCamelCase()}";
//Add secondary Id
var secondaryIds = action.Parameters.Where(p => p.ParameterName.EndsWith("Id", StringComparison.Ordinal)).ToList();

Loading…
Cancel
Save