lib/morpheus/mixins/conversion.rb in morpheus-0.3.7 vs lib/morpheus/mixins/conversion.rb in morpheus-0.3.8

- old
+ new

@@ -11,7 +11,12 @@ def to_key attributes.keys if persisted? end + def to_partial_path + underscored_model_name = self.class.model_name.underscore + "#{underscored_model_name.pluralize}/#{underscored_model_name}" + end + end end