9
9
10
10
namespace Umbraco . Community . Sustainability . Trees
11
11
{
12
- [ Tree ( "sustainability" , "sustainabilityTree " , TreeTitle = "Sustainability" , TreeGroup = "sustainabilityTreeGroup" ) ]
12
+ [ Tree ( "sustainability" , "sustainability " , TreeTitle = "Sustainability" , TreeGroup = "sustainabilityTreeGroup" ) ]
13
13
[ PluginController ( "UmbracoCommunitySustainability" ) ]
14
14
public class SustainabilityTreeController : TreeController
15
15
{
@@ -30,11 +30,11 @@ protected override ActionResult<TreeNodeCollection> GetTreeNodes(string id, Form
30
30
31
31
if ( id == Cms . Core . Constants . System . RootString )
32
32
{
33
- var overviewNode = CreateTreeNode ( "overview" , Cms . Core . Constants . System . RootString , queryStrings , "Overview" , "icon-eco" , false , "sustainability/sustainabilityTree /overview" ) ;
33
+ var overviewNode = CreateTreeNode ( "overview" , Cms . Core . Constants . System . RootString , queryStrings , "Overview" , "icon-eco" , false , "sustainability/sustainability /overview" ) ;
34
34
overviewNode . MenuUrl = null ;
35
35
collection . Add ( overviewNode ) ;
36
36
37
- var statsNode = CreateTreeNode ( "stats" , Cms . Core . Constants . System . RootString , queryStrings , "Stats" , "icon-chart" , false , "sustainability/sustainabilityTree /stats" ) ;
37
+ var statsNode = CreateTreeNode ( "stats" , Cms . Core . Constants . System . RootString , queryStrings , "Stats" , "icon-chart" , false , "sustainability/sustainability /stats" ) ;
38
38
statsNode . MenuUrl = null ;
39
39
collection . Add ( statsNode ) ;
40
40
}
@@ -59,7 +59,7 @@ protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, Fo
59
59
60
60
if ( root is not null )
61
61
{
62
- root . RoutePath = "sustainability/sustainabilityTree /overview" ;
62
+ root . RoutePath = "sustainability/sustainability /overview" ;
63
63
root . Icon = "icon-eco" ;
64
64
root . HasChildren = false ;
65
65
root . MenuUrl = null ;
0 commit comments