lib/hanami/view/rendering/partial_finder.rb in hanami-view-1.0.0.beta1 vs lib/hanami/view/rendering/partial_finder.rb in hanami-view-1.0.0.beta2

- old
+ new

@@ -58,18 +58,21 @@ def view_template_dir *all, _ = @view.template.split(separator) all.join(separator) end + # @api private def template_name *all, last = partial_name.split(separator) all.push( last.prepend(prefix) ).join(separator) end + # @api private def partial_name @options[:partial] end + # @api private def prefix PREFIX end end end