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
|
||||
end
|
||||
|
||||
def show
|
||||
end
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
officer edit
|
||||
@@ -1 +0,0 @@
|
||||
officer show
|
||||
@@ -133,7 +133,7 @@ namespace :admin do
|
||||
resources :results, only: :index
|
||||
end
|
||||
|
||||
resources :officers do
|
||||
resources :officers, only: [:index, :new, :create, :destroy] do
|
||||
get :search, on: :collection
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user