/super_voters: remove in favor of /users?search[is_super_voter]=true search.
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
class SuperVotersController < ApplicationController
|
|
||||||
respond_to :html, :xml, :json
|
|
||||||
|
|
||||||
def index
|
|
||||||
@super_voters = SuperVoter.all
|
|
||||||
respond_with(@super_voters)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -109,7 +109,6 @@
|
|||||||
<li><%= link_to("Signup", new_user_path) %></li>
|
<li><%= link_to("Signup", new_user_path) %></li>
|
||||||
<li><%= link_to("Terms of Service", terms_of_service_path) %></li>
|
<li><%= link_to("Terms of Service", terms_of_service_path) %></li>
|
||||||
<li><%= link_to("Upgrade Information", new_user_upgrade_path) %></li>
|
<li><%= link_to("Upgrade Information", new_user_upgrade_path) %></li>
|
||||||
<li><%= link_to("Super Voters", super_voters_path) %></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li><h1>Admin</h1></li>
|
<li><h1>Admin</h1></li>
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
<div id="c-super-voters">
|
|
||||||
<div id="a-index">
|
|
||||||
<h1>Super Voters</h1>
|
|
||||||
|
|
||||||
<p>The following users will increment or decrement a post's score by <%= SuperVoter::MAGNITUDE %> when they vote. This list is regenerated once a week.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<% @super_voters.each do |super_voter| %>
|
|
||||||
<li><%= link_to_if CurrentUser.user.is_moderator?, super_voter.user.name, posts_path(tags: "upvote:#{super_voter.user.name}") %></li>
|
|
||||||
<% end %>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
|
||||||
Super Voters - <%= Danbooru.config.app_name %>
|
|
||||||
<% end %>
|
|
||||||
Reference in New Issue
Block a user