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