mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-16 11:27:00 +01:00
feat(forums): load topic content data
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user