Sha256: 98ebd7f0dcbb8a13aab3197231ddf5fc0546edfff4b48e8d9634e8d3b1a20c40
Contents?: true
Size: 597 Bytes
Versions: 3
Compression:
Stored size: 597 Bytes
Contents
# frozen_string_literal: true module Decidim module DecidimAwesome module Proposals ## # Decorates update draft and update proposal # to avoid private field to be logged in PaperTrail. module UpdateProposalOverride extend ActiveSupport::Concern include Admin::UpdateProposalOverride included do private alias_method :decidim_original_update_draft, :update_draft def update_draft decidim_original_update_draft update_private_field! end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems