feat(torrents): load torrent thumbs-up data on detail page

This commit is contained in:
OldHawk
2017-07-21 16:52:04 +08:00
parent 74d9cf9173
commit 659d15bd45
7 changed files with 51 additions and 22 deletions

View File

@@ -12,6 +12,7 @@
marked, ModalConfirmService, $stateParams, TopicsService, localStorageService, $compile, RepliesService, $filter, Upload, DownloadService) {
var vm = this;
vm.forumsConfig = MeanTorrentConfig.meanTorrentConfig.forumsConfig;
vm.scoreConfig = MeanTorrentConfig.meanTorrentConfig.score;
vm.itemsPerPageConfig = MeanTorrentConfig.meanTorrentConfig.itemsPerPage;
vm.appConfig = MeanTorrentConfig.meanTorrentConfig.app;
vm.user = Authentication.user;