Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 75f950f

Browse files
committed
A tiny fix of the new listings routing
1 parent 801c118 commit 75f950f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/listings/listings.routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import angular from 'angular'
2121
'listings': {
2222
parent: 'root',
2323
url: '/listings/',
24-
controller: 'ListingsCtrl as vm',
2524
resolve: {
2625
userHandle: ['$stateParams', function($stateParams) {
2726
return $stateParams.userHandle
@@ -33,6 +32,7 @@ import angular from 'angular'
3332
},
3433
views: {
3534
'container@': {
35+
controller: 'ListingsCtrl as vm',
3636
template: require('./listings')()
3737
}
3838
}

0 commit comments

Comments
 (0)