Use ~p verified routes instead of string paths in navbar template. Update can_access_page? to handle both string and verified route paths for better type safety. |
||
|---|---|---|
| .. | ||
| navbar.ex | ||
| root.html.heex | ||
Use ~p verified routes instead of string paths in navbar template. Update can_access_page? to handle both string and verified route paths for better type safety. |
||
|---|---|---|
| .. | ||
| navbar.ex | ||
| root.html.heex | ||