Sha256: 29243134fff3fa5aeffe932e78965f9e27a556bd599ec86f3a81bbecbbfc6c5e
Contents?: true
Size: 337 Bytes
Versions: 13
Compression:
Stored size: 337 Bytes
Contents
module CurationConcerns class WorkFormService def self.build(curation_concern, current_ability, *extra) form_class(curation_concern).new(curation_concern, current_ability, *extra) end def self.form_class(curation_concern) CurationConcerns.const_get("#{curation_concern.model_name.name}Form") end end end
Version data entries
13 entries across 13 versions & 1 rubygems