Merge pull request #3055 from consul/admin-poll-officers

[Backport] Admin poll officers
This commit is contained in:
Alberto
2018-11-26 15:03:55 +01:00
committed by GitHub
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