change uniq to distinct for SQL queries to fix deprecation
This commit is contained in:
parent
2180e6197c
commit
ba9d19c832
9 changed files with 9 additions and 9 deletions
|
|
@ -5,7 +5,7 @@ class BoothsController < ApplicationController
|
|||
skip_authorize_resource only: [:withdraw, :confirm, :restart]
|
||||
|
||||
def index
|
||||
@booths = current_user.booths.where(conference_id: @conference.id).uniq
|
||||
@booths = current_user.booths.where(conference_id: @conference.id).distinct
|
||||
end
|
||||
|
||||
def show; end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue