Target correct view in portal mode & activity stream route definitions #3851 (#3869)

This commit is contained in:
Leigh Johnson 2016-11-04 16:51:06 -04:00 committed by GitHub
parent 88a8810815
commit 7167fd7c6b
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ export default {
$('body').removeClass('modal-open');
},
views: {
'list@': {
'@': {
controller: 'activityStreamController',
templateProvider: function(StreamList, generateList) {
let html = generateList.build({

View File

@ -32,10 +32,10 @@ export default {
}
},
views: {
'list@': {
'@': {
templateUrl: templateUrl('portal-mode/portal-mode-layout'),
controller: ['$scope', '$rootScope', '$state', '$stateParams', 'GetBasePath', 'QuerySet', 'jobsDataset',
function($scope, $rootScope, $state, $stateParams, GetBasePath, qs, Dataset) {
controller: ['$scope', '$rootScope', '$state', '$stateParams', 'GetBasePath', 'QuerySet',
function($scope, $rootScope, $state, $stateParams, GetBasePath, qs) {
let path;
init();