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

current has bug #10

Open
alphaelf opened this issue Feb 4, 2022 · 2 comments · May be fixed by #19
Open

current has bug #10

alphaelf opened this issue Feb 4, 2022 · 2 comments · May be fixed by #19
Assignees
Labels
bug Something isn't working

Comments

@alphaelf
Copy link

alphaelf commented Feb 4, 2022

the getRoutes() function returns:

users.destroy: "/admin/users/:id"
users.index: "/admin/users"
users.show: "/admin/users/:id"
users.store: "/admin/users"
users.update: "/admin/users/:id"

as we can see the users.index and users.store has same path (but with different http method) and in page with path /admin/users the current property or isCurrent() show wrong route name as users.store

@eidellev
Copy link
Owner

eidellev commented Feb 5, 2022

Thanks for reporting this issue. I will look into it.

@eidellev eidellev added the bug Something isn't working label Feb 5, 2022
@eidellev eidellev self-assigned this Feb 5, 2022
@xewl
Copy link

xewl commented Jul 13, 2023

Still a relevant bug at this moment. Do you wish external input?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants