Sha256: 9104d387a7dc03aac689aba8e82272dce15bdafa55317c5f50fdaa23073bac7b

Contents?: true

Size: 694 Bytes

Versions: 31

Compression:

Stored size: 694 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Initiatives
    # Exposes Initiatives versions so users can see how an Initiative
    # has been updated through time.
    class VersionsController < Decidim::Initiatives::ApplicationController
      include ParticipatorySpaceContext
      participatory_space_layout
      helper InitiativeHelper

      include NeedsInitiative
      include Decidim::ResourceVersionsConcern

      def versioned_resource
        current_initiative
      end

      private

      def current_participatory_space_manifest
        @current_participatory_space_manifest ||= Decidim.find_participatory_space_manifest(:initiatives)
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-initiatives-0.27.9 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.8 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.7 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.6 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.10 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.9 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.5 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.8 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.4 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.3 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.7 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.5 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.2 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.1 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.4 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.0 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.3 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.0.rc2 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.27.0.rc1 app/controllers/decidim/initiatives/versions_controller.rb
decidim-initiatives-0.26.2 app/controllers/decidim/initiatives/versions_controller.rb