Sha256: 4fd03755d25043422e462027c5fe9b7f715f84cb944967074d8577ca646ba2f3

Contents?: true

Size: 363 Bytes

Versions: 59

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Initiatives
    class DiffRenderer < BaseDiffRenderer
      private

      # Lists which attributes will be diffable and how they should be rendered.
      def attribute_types
        {
          description: :i18n_html,
          title: :i18n,
          state: :string
        }
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
decidim-initiatives-0.29.1 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.28.4 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.27.9 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.29.0 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.28.3 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.27.8 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.29.0.rc4 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.29.0.rc3 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.29.0.rc2 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.29.0.rc1 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.28.2 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.27.7 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.28.1 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.27.6 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.26.10 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.26.9 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.28.0 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.27.5 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.28.0.rc5 app/services/decidim/initiatives/diff_renderer.rb
decidim-initiatives-0.28.0.rc4 app/services/decidim/initiatives/diff_renderer.rb