Browse Source
Update AbpTenantManagementWebModule.cs
pull/23623/head
Enis Necipoglu
1 year ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
1 changed files with
2 additions and
2 deletions
-
modules/tenant-management/src/Volo.Abp.TenantManagement.Web/AbpTenantManagementWebModule.cs
|
|
|
@ -41,6 +41,8 @@ public class AbpTenantManagementWebModule : AbpModule |
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Services.AddMapperlyObjectMapper<AbpTenantManagementWebModule>(); |
|
|
|
|
|
|
|
Configure<AbpNavigationOptions>(options => |
|
|
|
{ |
|
|
|
options.MenuContributors.Add(new AbpTenantManagementWebMainMenuContributor()); |
|
|
|
@ -51,8 +53,6 @@ public class AbpTenantManagementWebModule : AbpModule |
|
|
|
options.FileSets.AddEmbedded<AbpTenantManagementWebModule>(); |
|
|
|
}); |
|
|
|
|
|
|
|
context.Services.AddMapperlyObjectMapper<AbpTenantManagementWebModule>(); |
|
|
|
|
|
|
|
Configure<RazorPagesOptions>(options => |
|
|
|
{ |
|
|
|
options.Conventions.AuthorizePage("/TenantManagement/Tenants/Index", TenantManagementPermissions.Tenants.Default); |
|
|
|
|