Add Poll booth_assignments and :Poll::BoothAssignment manage routes, actions and views

This commit is contained in:
Bertocq
2017-10-19 19:27:26 +02:00
parent 3daf957813
commit 45d91a7e50
9 changed files with 64 additions and 4 deletions

View File

@@ -47,6 +47,10 @@ class Admin::Poll::PollsController < Admin::Poll::BaseController
redirect_to admin_poll_path(@poll), notice: notice
end
def booth_assignments
@polls = Poll.current_or_incoming
end
private
def load_geozones