Adds rules page
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
import HuntCreate from './routes/admin/HuntCreate.svelte'
|
||||
import HuntManage from './routes/admin/HuntManage.svelte'
|
||||
import PhotoReview from './routes/admin/PhotoReview.svelte'
|
||||
import Rules from './routes/Rules.svelte'
|
||||
|
||||
const routes = {
|
||||
'/': HuntList,
|
||||
@@ -26,6 +27,7 @@
|
||||
'/admin/hunt/create': HuntCreate,
|
||||
'/admin/hunt/:huntId': HuntManage,
|
||||
'/admin/hunt/:huntId/review': PhotoReview,
|
||||
'/rules': Rules,
|
||||
}
|
||||
|
||||
const publicRoutes = ['/login', '/signup']
|
||||
|
||||
Reference in New Issue
Block a user