class Decidim::Debates::DiffRenderer

def attribute_types

Lists which attributes will be diffable and how they should be rendered.
def attribute_types
  {
    title: :i18n,
    description: :i18n,
    information_updates: :i18n,
    instructions: :i18n,
    start_time: :string,
    end_time: :string,
    conclusions: :i18n,
    closed_at: :string
  }
end

def debate

def debate
  @debate ||= Debate.find_by(id: version.item_id)
end