You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few isues that I have with 2 seperate files concerning navigation and routes. It might seem to be 2 different cases, but actually, if you maintain one, you can autogenerate the other. This way, it is slow and error-prone.
Also, security, I have noticed that some parts of the route aren't secure. "can" is not an option used in primary or secondary navigation, which it should. Doing this the usual way, the navigation may not show it, but the route is still accessible.
With a helper method, you could easily fix this without ever need to think about it ever again. I, and probably others have made such a method, but it would be nice if this was something out of the box. I am willing to share, but mine are also fixing the butt ugly camelCase url's....(/work/workCategories??? why not /work/categories --> workCategories module?)
This discussion was converted from issue #753 on September 02, 2021 21:57.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There are a few isues that I have with 2 seperate files concerning navigation and routes. It might seem to be 2 different cases, but actually, if you maintain one, you can autogenerate the other. This way, it is slow and error-prone.
Also, security, I have noticed that some parts of the route aren't secure. "can" is not an option used in primary or secondary navigation, which it should. Doing this the usual way, the navigation may not show it, but the route is still accessible.
With a helper method, you could easily fix this without ever need to think about it ever again. I, and probably others have made such a method, but it would be nice if this was something out of the box. I am willing to share, but mine are also fixing the butt ugly camelCase url's....(/work/workCategories??? why not /work/categories --> workCategories module?)
Beta Was this translation helpful? Give feedback.
All reactions