diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/router.js | 8 | ||||
-rw-r--r-- | src/views/Profile.vue | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/router.js b/src/router.js index 696c62e2..bb797aaf 100644 --- a/src/router.js +++ b/src/router.js @@ -97,6 +97,14 @@ export default new Router({ } } ] + }, + { + path: '/:index(index.php/)?apps/social/ostatus/follow', + components: { + default: Profile, + details: ProfileTimeline + }, + props: true, } ] }) diff --git a/src/views/Profile.vue b/src/views/Profile.vue index 109dd9d0..7e9f7e8d 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -81,7 +81,7 @@ export default { beforeMount() { let fetchMethod = '' - this.uid = this.$route.params.account + this.uid = this.$route.params.account || this.serverData.account // Are we authenticated? if (this.serverData.public) { |