Fixed list of donators link not including donorplus badge. #38
Reference in New Issue
Block a user
Delete Branch "donator-link-patch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This patch is intended to fix #37. Here's what it changes:
/users, so/users?donorswill return everyone with a donor or donorplus badge./donateto point to/users?donorsinstead of/users?badge=donor.This will come out as
We also have list of users who.... This isn't part of the issue, but if you would add anain there, that would be great. Otherwise, as long as you've tested it and have made sure it works, I approve this.This grammar error has actually been in there for a while now. You can see it on the production server right now. Thanks for pointing this out, I'll add a fix to this pull request.
Glad this is being added. Thanks.
It would be much more flexible to just use
in the controller, then use
users_path(donor: ["donor", "donorplus"]).You might want to update the view to properly handle arrays as well (e.g. join with
" and ").That's a good idea. I'll look into doing that in a couple days.
Going to merge this as is for now. If we ever find a need to create more groups of badges or roles, then I will implement a better long term solution.