Fixed list of donators link not including donorplus badge. #38
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Redstoner/redstoner.com#38
Loading…
Reference in New Issue
Block a user
No description provided.
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?donors
will return everyone with a donor or donorplus badge./donate
to point to/users?donors
instead 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 ana
in 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.