lib/praxis/blueprint.rb in praxis-2.0.pre.40 vs lib/praxis/blueprint.rb in praxis-2.0.0

- old
+ new

@@ -234,9 +234,15 @@ else generate_default_fieldset! end resolve_domain_model! end + # Make sure to add the given defined description to the underlying type, so it can show up in the docs, etc + # Blueprint groups do not have a description... + if respond_to?(:description) && description + options[:description] = description + @attribute.type.options[:description] = description + end super end def self.resolve_domain_model! return unless domain_model.is_a?(String)