feat(forums): load topic content data

This commit is contained in:
OldHawk
2017-07-08 10:17:20 +08:00
parent 8e563e8304
commit 30ef35241a
11 changed files with 275 additions and 26 deletions

View File

@@ -14,6 +14,13 @@
vm.forumsConfig = MeanTorrentConfig.meanTorrentConfig.forumsConfig;
vm.user = Authentication.user;
/**
* If user is not signed in then redirect back home
*/
if (!Authentication.user) {
$state.go('authentication.signin');
}
/**
* init
*/