Fixed
-
Report the calling template as the current template name inside blocks passed to
render, instead of the partial the block is yielded into. (@timriley in #281) -
Look up bare-named partials in the directory containing the template that renders them, instead of a same-named directory at the root. (@timriley in #282)
Previously, a partial rendered via a relative path (e.g.
render("shared/fields")fromposts/show) would look for its own bare-named partials undershared/at the root, rather thanposts/shared/.