We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a413ee8 commit bf21cfeCopy full SHA for bf21cfe
app/templates/client/components/navbar/navbar.controller(js).js
@@ -18,13 +18,11 @@ angular.module('<%= scriptAppName %>')
18
};<% } %>
19
20
$scope.isActive = function(route) {
21
- $scope.isActive = function(route) {
22
if (route !== '/') {
23
return -1 !== $location.path().indexOf(route);
24
}
25
else {
26
return route === $location.path();
27
28
};
29
- };
30
});
0 commit comments