Sha256: 6efb478ed59959237c11e21dd1f5c2653892d8871adbcbf0cd5da66cad8d6bc1
Contents?: true
Size: 267 Bytes
Versions: 14
Compression:
Stored size: 267 Bytes
Contents
# frozen_string_literal: true module FormsHelper def smart_form_fields_path(form) case form when Form form_fields_path(form) when NestedForm nested_form_fields_path(form) else raise "Unknown form: #{form.class}" end end end
Version data entries
14 entries across 14 versions & 1 rubygems