From 596157f90bcf1cce4e71676d236f4f9c15b175f3 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 16 Jul 2018 15:59:36 +0200 Subject: [PATCH] Default to section route if not specified --- src/Umbraco.Web.UI.Client/src/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/routes.js b/src/Umbraco.Web.UI.Client/src/routes.js index 314b3b0c53..2f1a7583b4 100644 --- a/src/Umbraco.Web.UI.Client/src/routes.js +++ b/src/Umbraco.Web.UI.Client/src/routes.js @@ -146,7 +146,7 @@ app.config(function ($routeProvider) { //This controller will execute for this route, then we replace the template dynamnically based on the current tree. controller: function ($scope, $route, $routeParams, treeService) { - if (!$routeParams.tree || !$routeParams.method) { + if (!$routeParams.method) { $scope.templateUrl = "views/common/dashboard.html"; }