Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nav styles for namespaced resources #2013

Conversation

n-studio
Copy link
Contributor

@n-studio n-studio commented Jun 27, 2021

resource_name # => "blog__post"
resource # => "blog/posts"

@nickcharlton
Copy link
Member

Thanks!

Before/After:

Screenshot 2021-06-28 at 16 37 42

This commit sets the navigation item to be highlighted like the others
are (when they're not namespaced).
@nickcharlton nickcharlton force-pushed the fix/highlight-namespaced-resource-type-in-navigation branch from 70f1f98 to bf8f52f Compare June 28, 2021 15:39
@nickcharlton nickcharlton changed the title fix: highlight namespaced resource type in navigation Fix nav styles for namespaced resources Jun 28, 2021
@nickcharlton nickcharlton merged commit 8fb7cee into thoughtbot:main Jun 28, 2021
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