bunch of stuff
This commit is contained in:
@@ -12,6 +12,12 @@ import { Router, Route } from '@redwoodjs/router'
|
||||
const Routes = () => {
|
||||
return (
|
||||
<Router>
|
||||
<Route path="/posts/new" page={NewPostPage} name="newPost" />
|
||||
<Route path="/posts/{id:Int}/edit" page={EditPostPage} name="editPost" />
|
||||
<Route path="/posts/{id:Int}" page={PostPage} name="post" />
|
||||
<Route path="/posts" page={PostsPage} name="posts" />
|
||||
<Route path="/about" page={AboutPage} name="about" />
|
||||
<Route path="/" page={HomePage} name="home" />
|
||||
<Route notfound page={NotFoundPage} />
|
||||
</Router>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user