Merge branch 'master' into feature/3153

This commit is contained in:
Javier Martín
2019-02-15 16:25:50 +01:00
committed by GitHub
1259 changed files with 48644 additions and 16791 deletions

View File

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