Page MenuHomePhorge

No OneTemporary

Size
5 KB
Referenced Files
None
Subscribers
None
diff --git a/src/boot/routes.js b/src/boot/routes.js
index 66f5db7ea1..5c222fe79d 100644
--- a/src/boot/routes.js
+++ b/src/boot/routes.js
@@ -1,53 +1,53 @@
import PublicTimeline from 'components/public_timeline/public_timeline.vue'
import PublicAndExternalTimeline from 'components/public_and_external_timeline/public_and_external_timeline.vue'
import FriendsTimeline from 'components/friends_timeline/friends_timeline.vue'
import TagTimeline from 'components/tag_timeline/tag_timeline.vue'
import ConversationPage from 'components/conversation-page/conversation-page.vue'
import Mentions from 'components/mentions/mentions.vue'
import DMs from 'components/dm_timeline/dm_timeline.vue'
import UserProfile from 'components/user_profile/user_profile.vue'
import Settings from 'components/settings/settings.vue'
import Registration from 'components/registration/registration.vue'
import UserSettings from 'components/user_settings/user_settings.vue'
import FollowRequests from 'components/follow_requests/follow_requests.vue'
import OAuthCallback from 'components/oauth_callback/oauth_callback.vue'
import UserSearch from 'components/user_search/user_search.vue'
import Notifications from 'components/notifications/notifications.vue'
import LoginForm from 'components/login_form/login_form.vue'
import ChatPanel from 'components/chat_panel/chat_panel.vue'
import WhoToFollow from 'components/who_to_follow/who_to_follow.vue'
import About from 'components/about/about.vue'
export default (store) => {
return [
{ name: 'root',
path: '/',
redirect: _to => {
return (store.state.users.currentUser
? store.state.instance.redirectRootLogin
: store.state.instance.redirectRootNoLogin) || '/main/all'
}
},
- { name: 'public-external-timeline', path: '/main/all', component: PublicAndExternalTimeline, meta: {title: 'The Whole Known Network' } },
- { name: 'public-timeline', path: '/main/public', component: PublicTimeline, meta: {title: 'Public Timeline' } },
+ { name: 'public-external-timeline', path: '/main/all', component: PublicAndExternalTimeline, meta: { title: 'The Whole Known Network' } },
+ { name: 'public-timeline', path: '/main/public', component: PublicTimeline, meta: { title: 'Public Timeline' } },
{ name: 'friends', path: '/main/friends', component: FriendsTimeline, meta: {title: 'Timeline' } },
- { name: 'tag-timeline', path: '/tag/:tag', component: TagTimeline, meta: {title: 'Hashtag' } },
+ { name: 'tag-timeline', path: '/tag/:tag', component: TagTimeline, meta: { title: 'Hashtag' } },
{ name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true, title: 'Conversation' } },
- { name: 'external-user-profile', path: '/users/:id', component: UserProfile, meta: {title: 'User Profile' } },
+ { name: 'external-user-profile', path: '/users/:id', component: UserProfile, meta: { title: 'User Profile' } },
{ name: 'mentions', path: '/users/:username/mentions', component: Mentions },
- { name: 'dms', path: '/users/:username/dms', component: DMs, meta: {title: 'Direct Messages' } },
- { name: 'settings', path: '/settings', component: Settings, meta: {title: 'Settings' } },
+ { name: 'dms', path: '/users/:username/dms', component: DMs, meta: { title: 'Direct Messages' } },
+ { name: 'settings', path: '/settings', component: Settings, meta: { title: 'Settings' } },
{ name: 'registration', path: '/registration', component: Registration },
{ name: 'registration-token', path: '/registration/:token', component: Registration },
- { name: 'friend-requests', path: '/friend-requests', component: FollowRequests, meta: {title: 'Follow Request' } },
- { name: 'user-settings', path: '/user-settings', component: UserSettings, meta: {title: 'User Settings' } },
- { name: 'notifications', path: '/:username/notifications', component: Notifications, meta: {title: 'Notifications' } },
+ { name: 'friend-requests', path: '/friend-requests', component: FollowRequests, meta: { title: 'Follow Request' } },
+ { name: 'user-settings', path: '/user-settings', component: UserSettings, meta: { title: 'User Settings' } },
+ { name: 'notifications', path: '/:username/notifications', component: Notifications, meta: { title: 'Notifications' } },
{ name: 'login', path: '/login', component: LoginForm },
{ name: 'chat', path: '/chat', component: ChatPanel, props: () => ({ floating: false }) },
{ name: 'oauth-callback', path: '/oauth-callback', component: OAuthCallback, props: (route) => ({ code: route.query.code }) },
{ name: 'user-search', path: '/user-search', component: UserSearch, meta: { title: 'User Search' }, props: (route) => ({ query: route.query.query }) },
- { name: 'who-to-follow', path: '/who-to-follow', component: WhoToFollow, meta: {title: 'Who to follow' } },
- { name: 'about', path: '/about', component: About, meta: {title: "About"} },
+ { name: 'who-to-follow', path: '/who-to-follow', component: WhoToFollow, meta: { title: 'Who to follow' } },
+ { name: 'about', path: '/about', component: About, meta: { title: 'About' } },
{ name: 'user-profile', path: '/(users/)?:name', component: UserProfile }
]
}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Aug 9, 12:09 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1724512
Default Alt Text
(5 KB)

Event Timeline