Sha256: 99cc38f393ff72684459b7f5d1ea7377bf21adcc6357d28f03624f4095634271

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Accountability
    module Admin
      # This command is executed when the user creates a TimelineEntry
      # for a Result from the admin panel.
      class CreateTimelineEntry < Decidim::Commands::CreateResource
        fetch_form_attributes :decidim_accountability_result_id, :entry_date, :title, :description

        private

        def resource_class = Decidim::Accountability::TimelineEntry
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-accountability-0.29.1 app/commands/decidim/accountability/admin/create_timeline_entry.rb
decidim-accountability-0.29.0 app/commands/decidim/accountability/admin/create_timeline_entry.rb
decidim-accountability-0.29.0.rc4 app/commands/decidim/accountability/admin/create_timeline_entry.rb
decidim-accountability-0.29.0.rc3 app/commands/decidim/accountability/admin/create_timeline_entry.rb
decidim-accountability-0.29.0.rc2 app/commands/decidim/accountability/admin/create_timeline_entry.rb
decidim-accountability-0.29.0.rc1 app/commands/decidim/accountability/admin/create_timeline_entry.rb