Sha256: 6ec2774735c3d8c53fb1f3d9eb5419b3ef5a8a086409ac60705d372f8fbb65a6
Contents?: true
Size: 468 Bytes
Versions: 31
Compression:
Stored size: 468 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 < Rectify::Form delegate :current_organization, :current_user, :current_feature, to: :context, prefix: false, allow_nil: true def available_locales current_organization&.available_locales end end end
Version data entries
31 entries across 31 versions & 2 rubygems