Skip to content

Commit

Permalink
feat: add confirm registration view to router
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Kinsey authored and Anthony Kinsey committed Feb 2, 2022
1 parent 8f904ad commit e75cd83
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import WatchlistEdit from '@/views/WatchlistEdit.vue'
import Mentions from '@/views/Mentions.vue'
import Messages from '@/views/Messages.vue'
import PostSearch from '@/views/PostSearch.vue'
import ConfirmAccount from '@/views/ConfirmAccount.vue'
import Profile from '@/views/Profile.vue'
import Forbidden from '@/views/layout/Forbidden.vue'
import NotFound from '@/views/layout/NotFound.vue'
Expand All @@ -40,6 +41,13 @@ const routes = [
props: true,
meta: { requiresAuth: false, bodyClass: 'login' }
},
{
path: '/confirm/:username/:token',
name: 'Confirm',
component: ConfirmAccount,
props: true,
meta: { requiresAuth: false, bodyClass: 'confirm' }
},
{
path: '/boards/:boardSlug',
name: 'Threads',
Expand Down

0 comments on commit e75cd83

Please sign in to comment.