From 0c79d2f09ed1e2ec4ddd7d22ccc083a36ad92cdc Mon Sep 17 00:00:00 2001 From: evazion Date: Fri, 7 Jul 2017 15:38:06 -0500 Subject: [PATCH] Removed unused controllers actions / routes (#3206). --- app/controllers/artists_controller.rb | 3 --- app/controllers/pools_controller.rb | 3 --- app/controllers/tags_controller.rb | 3 --- config/routes.rb | 4 ---- 4 files changed, 13 deletions(-) diff --git a/app/controllers/artists_controller.rb b/app/controllers/artists_controller.rb index 3224a0c42..77aae6f7d 100644 --- a/app/controllers/artists_controller.rb +++ b/app/controllers/artists_controller.rb @@ -49,9 +49,6 @@ class ArtistsController < ApplicationController end end - def search - end - def show @artist = Artist.find(params[:id]) @post_set = PostSets::Artist.new(@artist) diff --git a/app/controllers/pools_controller.rb b/app/controllers/pools_controller.rb index d7af2c27a..3b43ed819 100644 --- a/app/controllers/pools_controller.rb +++ b/app/controllers/pools_controller.rb @@ -28,9 +28,6 @@ class PoolsController < ApplicationController @post_set = PostSets::PoolGallery.new(@pools) end - def search - end - def show @pool = Pool.find(params[:id]) @post_set = PostSets::Pool.new(@pool, params[:page]) diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index 56c24ffdf..db81aa7b5 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -27,9 +27,6 @@ class TagsController < ApplicationController end end - def search - end - def show @tag = Tag.find(params[:id]) respond_with(@tag) diff --git a/config/routes.rb b/config/routes.rb index 18664f7b0..2bb27b559 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -53,7 +53,6 @@ Rails.application.routes.draw do get :popular get :searches get :missed_searches - get :hot get :intro end end @@ -119,7 +118,6 @@ Rails.application.routes.draw do end resources :dmails, :only => [:new, :create, :index, :show, :destroy] do collection do - get :search post :mark_all_as_read end end @@ -163,7 +161,6 @@ Rails.application.routes.draw do put :demote end end - resources :jobs resources :mod_actions resources :news_updates resources :notes do @@ -253,7 +250,6 @@ Rails.application.routes.draw do end end resource :source, :only => [:show] - resources :super_voters, :only => [:index] resources :tags do resource :correction, :only => [:new, :create, :show], :controller => "tag_corrections" collection do