Sha256: a19f9975736f39ab9848ef2cf78fbd40d97395ab8b508bbbc73eb4fcd2d5c644

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Proposals
    module AdminLog
      class ProposalStatePresenter < Decidim::Log::BasePresenter
        private

        def diff_fields_mapping
          {
            title: :i18n,
            default: :boolean,
            token: :string,
            description: :i18n,
            css_class: :string
          }
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 app/presenters/decidim/proposals/admin_log/proposal_state_presenter.rb
decidim-proposals-0.29.0 app/presenters/decidim/proposals/admin_log/proposal_state_presenter.rb
decidim-proposals-0.29.0.rc4 app/presenters/decidim/proposals/admin_log/proposal_state_presenter.rb
decidim-proposals-0.29.0.rc3 app/presenters/decidim/proposals/admin_log/proposal_state_presenter.rb
decidim-proposals-0.29.0.rc2 app/presenters/decidim/proposals/admin_log/proposal_state_presenter.rb
decidim-proposals-0.29.0.rc1 app/presenters/decidim/proposals/admin_log/proposal_state_presenter.rb