Fixed list of donators link not including donorplus badge.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<li>Donator+ ($20 or more)
|
||||
</ul>
|
||||
|
||||
<p>We also have <%= link_to "list of users who donated", users_path(badge: "donor") %> already!</p>
|
||||
<p>We also have <%= link_to "list of users who donated", users_path(donor: "") %> already!</p>
|
||||
|
||||
<h3>Perks for you</h3>
|
||||
<p>For <i>Donator</i> and <i>Donator+</i></p>
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
text = "All '#{params[:role]}' and '#{params[:badge]}' users"
|
||||
elsif params.include?(:staff)
|
||||
text = "All staff"
|
||||
elsif params.include?(:donor)
|
||||
text = "All donors"
|
||||
else
|
||||
text = "All users"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user