From a911f234832246dd59c8846d6210009475561eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 22 Feb 2017 10:42:45 +0300 Subject: [PATCH] Used menu component as tag helper. --- src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml | 5 +++-- src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml b/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml index 05543ebd76..e6eb0a966a 100644 --- a/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml +++ b/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml @@ -1,4 +1,4 @@ -@using AbpDesk.Web.Mvc.Views.Shared.Components.Menu +@using Volo.Abp.Ui.Navigation @{ Layout = null; } @@ -13,7 +13,8 @@ - @await Component.InvokeAsync(typeof(MenuViewComponent)) + + @RenderBody() diff --git a/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml b/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml index 9018c7897f..7384078c94 100644 --- a/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml +++ b/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml @@ -1 +1,2 @@ -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers \ No newline at end of file +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, AbpDesk.Web.Mvc \ No newline at end of file