[#2750] Set might be overkill here

This commit is contained in:
Frederic Merizen 2018-10-05 15:50:38 +02:00
parent 667deae5cc
commit fac6922b98

View file

@ -1,7 +1,7 @@
class ProcedurePresentation < ApplicationRecord class ProcedurePresentation < ApplicationRecord
EXTRA_SORT_COLUMNS = { EXTRA_SORT_COLUMNS = {
'notifications' => Set['notifications'], 'notifications' => ['notifications'],
'self' => Set['id', 'state'] 'self' => ['id', 'state']
} }
belongs_to :assign_to belongs_to :assign_to