@ -20,6 +20,8 @@ public class AbpConventionalControllerOptions
/// </summary>
public bool UseV3UrlStyle { get; set; }
public string[] IgnoredUrlSuffixesInControllerNames { get; set; } = new[] { "Integration" };
public AbpConventionalControllerOptions()
{
ConventionalControllerSettings = new ConventionalControllerSettingList();
@ -109,7 +109,7 @@ public class ConventionalRouteBuilder : IConventionalRouteBuilder, ITransientDep
if (configuration?.UrlControllerNameNormalizer == null)
return controllerName;
return controllerName.RemovePostFix(Options.IgnoredUrlSuffixesInControllerNames);
}
return configuration.UrlControllerNameNormalizer(