fix(forums): nav path indexs

This commit is contained in:
OldHawk
2017-07-09 12:32:20 +08:00
parent e3e34a2dec
commit f1152f66ff
2 changed files with 4 additions and 4 deletions

View File

@@ -32,8 +32,8 @@
}, function (item) {
vm.forum = item;
vm.forumPath.push({name: vm.forum.name, state: 'forums.view', params: {forumId: vm.forum._id}});
vm.forumPath.splice(0, 0, {name: 'Post New Topic', state: undefined});
vm.forumPath.splice(0, 0, {name: vm.forum.name, state: 'forums.view', params: {forumId: vm.forum._id}});
vm.forumPath.push({name: 'Post New Topic', state: undefined});
});
};