Skip to content

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