Sha256: 971cd5f70aaa8c6f90181e0438f9d00f92ac2f28358ab6e097651dad7f95d0d4
Contents?: true
Size: 570 Bytes
Versions: 4
Compression:
Stored size: 570 Bytes
Contents
# frozen_string_literal: true require_dependency "decidim/application_controller" module Decidim class ParticipatoryProcessGroupsController < ApplicationController helper_method :participatory_processes, :group, :collection def show authorize! :read, ParticipatoryProcessGroup end private def participatory_processes @participatory_processes ||= group.participatory_processes.published end alias collection participatory_processes def group Decidim::ParticipatoryProcessGroup.find(params[:id]) end end end
Version data entries
4 entries across 4 versions & 1 rubygems