Removed unused controllers actions / routes (#3206).
This commit is contained in:
@@ -49,9 +49,6 @@ class ArtistsController < ApplicationController
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def search
|
|
||||||
end
|
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@artist = Artist.find(params[:id])
|
@artist = Artist.find(params[:id])
|
||||||
@post_set = PostSets::Artist.new(@artist)
|
@post_set = PostSets::Artist.new(@artist)
|
||||||
|
|||||||
@@ -28,9 +28,6 @@ class PoolsController < ApplicationController
|
|||||||
@post_set = PostSets::PoolGallery.new(@pools)
|
@post_set = PostSets::PoolGallery.new(@pools)
|
||||||
end
|
end
|
||||||
|
|
||||||
def search
|
|
||||||
end
|
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@pool = Pool.find(params[:id])
|
@pool = Pool.find(params[:id])
|
||||||
@post_set = PostSets::Pool.new(@pool, params[:page])
|
@post_set = PostSets::Pool.new(@pool, params[:page])
|
||||||
|
|||||||
@@ -27,9 +27,6 @@ class TagsController < ApplicationController
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def search
|
|
||||||
end
|
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@tag = Tag.find(params[:id])
|
@tag = Tag.find(params[:id])
|
||||||
respond_with(@tag)
|
respond_with(@tag)
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ Rails.application.routes.draw do
|
|||||||
get :popular
|
get :popular
|
||||||
get :searches
|
get :searches
|
||||||
get :missed_searches
|
get :missed_searches
|
||||||
get :hot
|
|
||||||
get :intro
|
get :intro
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -119,7 +118,6 @@ Rails.application.routes.draw do
|
|||||||
end
|
end
|
||||||
resources :dmails, :only => [:new, :create, :index, :show, :destroy] do
|
resources :dmails, :only => [:new, :create, :index, :show, :destroy] do
|
||||||
collection do
|
collection do
|
||||||
get :search
|
|
||||||
post :mark_all_as_read
|
post :mark_all_as_read
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -163,7 +161,6 @@ Rails.application.routes.draw do
|
|||||||
put :demote
|
put :demote
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
resources :jobs
|
|
||||||
resources :mod_actions
|
resources :mod_actions
|
||||||
resources :news_updates
|
resources :news_updates
|
||||||
resources :notes do
|
resources :notes do
|
||||||
@@ -253,7 +250,6 @@ Rails.application.routes.draw do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
resource :source, :only => [:show]
|
resource :source, :only => [:show]
|
||||||
resources :super_voters, :only => [:index]
|
|
||||||
resources :tags do
|
resources :tags do
|
||||||
resource :correction, :only => [:new, :create, :show], :controller => "tag_corrections"
|
resource :correction, :only => [:new, :create, :show], :controller => "tag_corrections"
|
||||||
collection do
|
collection do
|
||||||
|
|||||||
Reference in New Issue
Block a user