From a6a23f943c9e0340b1ddaaba9cfb5eb5ece1d596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Thu, 24 May 2018 08:08:26 +0300 Subject: [PATCH] Make public razor page injects --- src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs b/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs index 9038599759..338e4a5850 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs +++ b/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs @@ -7,6 +7,6 @@ namespace Volo.Abp.AspNetCore.Mvc.RazorPages public abstract class AbpPage : Page { [RazorInject] - protected ICurrentUser CurrentUser { get; set; } + public ICurrentUser CurrentUser { get; set; } } }