demarches-normaliennes/app/models/procedure_presentation.rb
2018-09-24 19:39:01 +02:00

11 lines
194 B
Ruby

class ProcedurePresentation < ApplicationRecord
belongs_to :assign_to
def sort
JSON.parse(read_attribute(:sort))
end
def filters
JSON.parse(read_attribute(:filters))
end
end