Removes unused admin poll officers views, routes and controller

This commit is contained in:
decabeza
2018-11-15 15:15:21 +01:00
parent 91e89ce3af
commit 3670859fa3
4 changed files with 1 additions and 9 deletions

View File

@@ -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

View File

@@ -1 +0,0 @@
officer edit

View File

@@ -1 +0,0 @@
officer show

View File

@@ -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