Sha256: 363350cb697dfd795512906dce82e6cbd2d1515ce9409025e31d6db2c08cde96
Contents?: true
Size: 631 Bytes
Versions: 47
Compression:
Stored size: 631 Bytes
Contents
# frozen_string_literal: true module Decidim module Initiatives class InitiativesTypeSignatureTypesController < Decidim::Initiatives::ApplicationController helper_method :allowed_signature_types_for_initiatives # GET /initiative_type_signature_types/search def search enforce_permission_to :search, :initiative_type_signature_types render layout: false end private def allowed_signature_types_for_initiatives @allowed_signature_types_for_initiatives ||= InitiativesType.find(params[:type_id]).allowed_signature_types_for_initiatives end end end end
Version data entries
47 entries across 47 versions & 1 rubygems