Sha256: 16417903b3f4fdd215ed1205459c9ed7a00fb79e598eb5a484c95ed92ed06ec0
Contents?: true
Size: 667 Bytes
Versions: 10
Compression:
Stored size: 667 Bytes
Contents
# frozen_string_literal: true module Decidim # A base form object to hold common logic, like automatically adding as # public method the params sent as context by the `FormFactory` concern. class Form < Decidim::AttributeObject::Form delegate :current_organization, :current_user, :current_component, :current_participatory_space, to: :context, prefix: false, allow_nil: true delegate :available_locales, to: :current_organization, allow_nil: true alias organization current_organization alias component current_component alias participatory_space current_participatory_space end end
Version data entries
10 entries across 10 versions & 1 rubygems