Sha256: e584a27599f3be60f0c4e6c5c7d37470fde06c2a5d44c6ffa24797f4ba50b3a9

Contents?: true

Size: 333 Bytes

Versions: 8

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ActionDelegator
    class UnversionedVote < SimpleDelegator
      def save
        PaperTrail.request(enabled: false) do
          super
        end
      end

      def save!
        PaperTrail.request(enabled: false) do
          super
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-action_delegator-0.8.1 app/models/decidim/action_delegator/unversioned_vote.rb
decidim-action_delegator-0.7.2 app/models/decidim/action_delegator/unversioned_vote.rb
decidim-action_delegator-0.7.1 app/models/decidim/action_delegator/unversioned_vote.rb
decidim-action_delegator-0.7.0 app/models/decidim/action_delegator/unversioned_vote.rb
decidim-action_delegator-0.6.0 app/models/decidim/action_delegator/unversioned_vote.rb
decidim-action_delegator-0.5.0 app/models/decidim/action_delegator/unversioned_vote.rb
decidim-action_delegator-0.4.1 app/models/decidim/action_delegator/unversioned_vote.rb
decidim-action_delegator-0.4 app/models/decidim/action_delegator/unversioned_vote.rb