summaryrefslogtreecommitdiffstats
path: root/src/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/router.js')
-rw-r--r--src/router.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/router.js b/src/router.js
index fecd0a71..ab82bbfd 100644
--- a/src/router.js
+++ b/src/router.js
@@ -43,35 +43,35 @@ export default new Router({
routes: [
{
path: '/:index(index.php/)?apps/social/',
- redirect: { name: 'timeline' }
+ redirect: { name: 'timeline' },
},
{
path: '/:index(index.php/)?apps/social/timeline/:type?',
components: {
- default: Timeline
+ default: Timeline,
},
props: true,
name: 'timeline',
children: [
{
path: 'tags/:tag',
- name: 'tags'
- }
- ]
+ name: 'tags',
+ },
+ ],
},
{
path: '/:index(index.php/)?apps/social/@:account/:localId',
components: {
- default: TimelineSinglePost
+ default: TimelineSinglePost,
},
props: true,
- name: 'single-post'
+ name: 'single-post',
},
{
path: '/:index(index.php/)?apps/social/@:account',
components: {
default: Profile,
- details: ProfileTimeline
+ details: ProfileTimeline,
},
props: true,
children: [
@@ -79,33 +79,33 @@ export default new Router({
path: '',
name: 'profile',
components: {
- details: ProfileTimeline
- }
+ details: ProfileTimeline,
+ },
},
{
path: 'followers',
name: 'profile.followers',
components: {
- details: ProfileFollowers
- }
+ details: ProfileFollowers,
+ },
},
{
path: 'following',
name: 'profile.following',
components: {
- details: ProfileFollowers
- }
- }
- ]
+ details: ProfileFollowers,
+ },
+ },
+ ],
},
{
path: '/:index(index.php/)?apps/social/ostatus/follow',
components: {
default: Profile,
- details: ProfileTimeline
+ details: ProfileTimeline,
},
- props: true
- }
- ]
+ props: true,
+ },
+ ],
})