Merge branch 'master' into feature/3153
This commit is contained in:
@@ -7,6 +7,7 @@ class Admin::Poll::PollsController < Admin::Poll::BaseController
|
||||
before_action :load_geozones, only: [:new, :create, :edit, :update]
|
||||
|
||||
def index
|
||||
@polls = Poll.order(starts_at: :desc)
|
||||
end
|
||||
|
||||
def show
|
||||
@@ -51,7 +52,7 @@ class Admin::Poll::PollsController < Admin::Poll::BaseController
|
||||
end
|
||||
|
||||
def booth_assignments
|
||||
@polls = Poll.current_or_incoming
|
||||
@polls = Poll.current
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user