Start implementation of branches, new form element tabledropdown, model improvements
This commit is contained in:
54
frontend/src/router/socialRoutes.js
Normal file
54
frontend/src/router/socialRoutes.js
Normal file
@@ -0,0 +1,54 @@
|
||||
import FriendsView from '../views/social/FriendsView.vue';
|
||||
import SearchView from '../views/social/SearchView.vue';
|
||||
import GalleryView from '../views/social/GalleryView.vue';
|
||||
import GuestbookView from '../views/social/GuestbookView.vue';
|
||||
import DiaryView from '../views/social/DiaryView.vue';
|
||||
import ForumView from '../views/social/ForumView.vue';
|
||||
import ForumTopicView from '../views/social/ForumTopicView.vue';
|
||||
|
||||
const socialRoutes = [
|
||||
{
|
||||
path: '/friends',
|
||||
name: 'Friends',
|
||||
component: FriendsView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/guestbook',
|
||||
name: 'Guestbook',
|
||||
component: GuestbookView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/search',
|
||||
name: 'Search users',
|
||||
component: SearchView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/gallery',
|
||||
name: 'Gallery',
|
||||
component: GalleryView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/forum/:id',
|
||||
name: 'Forum',
|
||||
component: ForumView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/forumtopic/:id',
|
||||
name: 'ForumTopic',
|
||||
component: ForumTopicView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/diary',
|
||||
name: 'Diary',
|
||||
component: DiaryView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
];
|
||||
|
||||
export default socialRoutes;
|
||||
Reference in New Issue
Block a user