Skip to content

Commit b959835

Browse files
committed
rename foundationRoutes to BaseAppsRoutes
1 parent e7a050f commit b959835

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dynamicRouting.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
var complexViews = {};
1515

1616
this.registerDynamicRoutes = function(routes) {
17-
var dynamicRoutes = routes || foundationRoutes;
17+
var dynamicRoutes = routes || BaseAppsRoutes;
1818

1919
angular.forEach(dynamicRoutes, function(page) {
2020
if (page.hasComposed) {
@@ -145,9 +145,9 @@
145145

146146
function DynamicRoutingConfig(BaseAppsStateProvider) {
147147
// Don't error out if Front Router is not being used
148-
var foundationRoutes = window.foundationRoutes || [];
148+
var BaseAppsRoutes = window.BaseAppsRoutes || [];
149149

150-
BaseAppsStateProvider.registerDynamicRoutes(foundationRoutes);
150+
BaseAppsStateProvider.registerDynamicRoutes(BaseAppsRoutes);
151151
}
152152

153153
DynamicRoutingRun.$inject = ['$rootScope', '$state', '$stateParams'];

0 commit comments

Comments
 (0)