Use double quotes in controllers/
This commit is contained in:
@@ -3,7 +3,7 @@ class Admin::Poll::BoothAssignmentsController < Admin::Poll::BaseController
|
||||
before_action :load_poll, except: [:create, :destroy]
|
||||
|
||||
def index
|
||||
@booth_assignments = @poll.booth_assignments.includes(:booth).order('poll_booths.name')
|
||||
@booth_assignments = @poll.booth_assignments.includes(:booth).order("poll_booths.name")
|
||||
.page(params[:page]).per(50)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user