8000 Routes refactor by dalejh · Pull Request #7 · jasoncolburne/arad · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Routes refactor #7

New issue
Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Routes refactor #7

wants to merge 2 commits into from

Conversation

dalejh
Copy link
Collaborator
@dalejh dalejh commented Jul 14, 2022

No description provided.

Comment on lines +60 to +72
path: "search/:articleId",
element: <Analytics />,
isProtected: true,
},
[RoutesEnum.ARTICLES]: {
path: "articles/:articleId",
element: <Article />,
isProtected: true,
},
[RoutesEnum.USERS]: {
path: "users/:userId",
element: <User />,
isProtected: true,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about like, /search (list articles from search view) /articles (list articles from admin view for bulk action) /users (list users)? Are those omitted here or does this logic somehow allow rendering those routes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah -- omitted. I hadn't used Outlet before and wasn't entirely sure what was going on. I'll refactor this tmmrw to account for those things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0