diff --git a/platform/commonUI/browse/bundle.json b/platform/commonUI/browse/bundle.json index dcf1ba9a38..014f09effa 100644 --- a/platform/commonUI/browse/bundle.json +++ b/platform/commonUI/browse/bundle.json @@ -2,7 +2,7 @@ "extensions": { "routes": [ { - "when": "/browse", + "when": "/browse/:id*", "templateUrl": "templates/browse.html" }, { @@ -14,7 +14,7 @@ { "key": "BrowseController", "implementation": "BrowseController.js", - "depends": [ "$scope", "objectService", "navigationService" ] + "depends": [ "$scope", "$routeParams", "objectService", "navigationService" ] }, { "key": "CreateMenuController", @@ -150,4 +150,4 @@ } ] } -} \ No newline at end of file +} diff --git a/platform/commonUI/browse/src/BrowseController.js b/platform/commonUI/browse/src/BrowseController.js index e2c2484e1b..291986f7ba 100644 --- a/platform/commonUI/browse/src/BrowseController.js +++ b/platform/commonUI/browse/src/BrowseController.js @@ -40,7 +40,7 @@ define( * * @constructor */ - function BrowseController($scope, objectService, navigationService) { + function BrowseController($scope, $routeParams, objectService, navigationService) { // Callback for updating the in-scope reference to the object // that is currently navigated-to. function setNavigation(domainObject) { @@ -91,4 +91,4 @@ define( return BrowseController; } -); \ No newline at end of file +);