From d6ca04019813930f9ab25e8ae9a6ef4c770055bc Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 2 May 2017 23:14:23 -0500 Subject: [PATCH] /super_voters: remove in favor of /users?search[is_super_voter]=true search. --- app/controllers/super_voters_controller.rb | 8 -------- app/views/static/site_map.html.erb | 1 - app/views/super_voters/index.html.erb | 17 ----------------- 3 files changed, 26 deletions(-) delete mode 100644 app/controllers/super_voters_controller.rb delete mode 100644 app/views/super_voters/index.html.erb diff --git a/app/controllers/super_voters_controller.rb b/app/controllers/super_voters_controller.rb deleted file mode 100644 index 743e9fbbd..000000000 --- a/app/controllers/super_voters_controller.rb +++ /dev/null @@ -1,8 +0,0 @@ -class SuperVotersController < ApplicationController - respond_to :html, :xml, :json - - def index - @super_voters = SuperVoter.all - respond_with(@super_voters) - end -end diff --git a/app/views/static/site_map.html.erb b/app/views/static/site_map.html.erb index 0aee3d891..a67fd8ee1 100644 --- a/app/views/static/site_map.html.erb +++ b/app/views/static/site_map.html.erb @@ -109,7 +109,6 @@
  • <%= link_to("Signup", new_user_path) %>
  • <%= link_to("Terms of Service", terms_of_service_path) %>
  • <%= link_to("Upgrade Information", new_user_upgrade_path) %>
  • -
  • <%= link_to("Super Voters", super_voters_path) %>