Sha256: 810ffb08d16894a93dc75292ab47795521a47c323a0f7692c01d8d86c29692b4
Contents?: true
Size: 700 Bytes
Versions: 9
Compression:
Stored size: 700 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses class ParticipatoryProcessGroupsController < Decidim::ApplicationController helper Decidim::SanitizeHelper helper_method :participatory_processes, :group, :collection before_action :set_group def show authorize! :read, ParticipatoryProcessGroup end private def participatory_processes @participatory_processes ||= group.participatory_processes.published end alias collection participatory_processes def set_group @group = Decidim::ParticipatoryProcessGroup.find(params[:id]) end attr_reader :group end end end
Version data entries
9 entries across 9 versions & 1 rubygems