Removes unused admin poll officers views, routes and controller
This commit is contained in:
@@ -30,10 +30,4 @@ class Admin::Poll::OfficersController < Admin::Poll::BaseController
|
|||||||
redirect_to admin_officers_path
|
redirect_to admin_officers_path
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
|
||||||
end
|
|
||||||
|
|
||||||
def edit
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
officer edit
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
officer show
|
|
||||||
@@ -133,7 +133,7 @@ namespace :admin do
|
|||||||
resources :results, only: :index
|
resources :results, only: :index
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :officers do
|
resources :officers, only: [:index, :new, :create, :destroy] do
|
||||||
get :search, on: :collection
|
get :search, on: :collection
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user