Skip to content

Commit 8d7c71d

Browse files
committed
Fixed navigation providers.
1 parent 199f2a4 commit 8d7c71d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Templates/All-In-One-Template/MySpaProject/MySpaProject.WebMpa/App_Start/MySpaProjectNavigationProvider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ namespace MySpaProject.WebMpa
77
/// This class defines menus for the application.
88
/// It uses ABP's menu system.
99
/// When you add menu items here, they are automatically appear in angular application.
10-
/// See _TopMenu.cshtml file under Views/Shared/ to know how to render menu.
10+
/// See Views/Layout/_TopMenu.cshtml file to know how to render menu.
1111
/// </summary>
12-
public class MySpaProjectNavigationProvider : INavigationProvider
12+
public class MySpaProjectNavigationProvider : NavigationProvider
1313
{
14-
public void SetNavigation(INavigationProviderContext context)
14+
public override void SetNavigation(INavigationProviderContext context)
1515
{
1616
context.Manager.MainMenu
1717
.AddItem(

Templates/All-In-One-Template/MySpaProject/MySpaProject.WebSpaAngular/App_Start/MySpaProjectNavigationProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ namespace MySpaProject.WebSpaAngular
99
/// When you add menu items here, they are automatically appear in angular application.
1010
/// See .cshtml and .js files under App/Main/views/layout/header to know how to render menu.
1111
/// </summary>
12-
public class MySpaProjectNavigationProvider : INavigationProvider
12+
public class MySpaProjectNavigationProvider : NavigationProvider
1313
{
14-
public void SetNavigation(INavigationProviderContext context)
14+
public override void SetNavigation(INavigationProviderContext context)
1515
{
1616
context.Manager.MainMenu
1717
.AddItem(

Templates/All-In-One-Template/MySpaProject/MySpaProject.WebSpaDurandal/App_Start/MySpaProjectNavigationProvider.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ namespace MySpaProject.WebSpaDurandal
66
/// <summary>
77
/// This class defines menus for the application.
88
/// It uses ABP's menu system.
9-
/// When you add menu items here, they are automatically appear in angular application.
10-
/// See .cshtml and .js files under App/Main/views/layout/header to know how to render menu.
9+
/// When you add menu items here, they are automatically appear in durandal application.
10+
/// See App/Main/views/layout.cshtml and App/Main/viewmodels/layout.js to know how to render menu.
1111
/// </summary>
12-
public class MySpaProjectNavigationProvider : INavigationProvider
12+
public class MySpaProjectNavigationProvider : NavigationProvider
1313
{
14-
public void SetNavigation(INavigationProviderContext context)
14+
public override void SetNavigation(INavigationProviderContext context)
1515
{
1616
context.Manager.MainMenu
1717
.AddItem(

0 commit comments

Comments
 (0)