Do not create conventional controllers for AbpAspNetCoreMvcModule.

pull/752/head
Halil ibrahim Kalkan 7 years ago
parent 9956382e12
commit eeecf741b6

@ -63,14 +63,6 @@ namespace Volo.Abp.AspNetCore.Mvc
options.IgnoredInterfaces.AddIfNotContains(typeof(IActionFilter));
});
Configure<AbpAspNetCoreMvcOptions>(options =>
{
options.ConventionalControllers.Create(typeof(AbpAspNetCoreMvcModule).Assembly, o =>
{
o.RootPath = "abp";
});
});
var mvcCoreBuilder = context.Services.AddMvcCore();
context.Services.ExecutePreConfiguredActions(mvcCoreBuilder);

Loading…
Cancel
Save