Sha256: ad4fab57af6f7dfbe512a109bab8d948766bed6305fe1a70a1ffcc8c4c065b85
Contents?: true
Size: 467 Bytes
Versions: 7
Compression:
Stored size: 467 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
7 entries across 7 versions & 1 rubygems