Removed unused controllers actions / routes (#3206).
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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])
|
||||
|
||||
@@ -27,9 +27,6 @@ class TagsController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def search
|
||||
end
|
||||
|
||||
def show
|
||||
@tag = Tag.find(params[:id])
|
||||
respond_with(@tag)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user