[Jifty-commit] r7545 - Template-Declare/branches/mixmaster/lib/Template

Jifty commits jifty-commit at lists.jifty.org
Sat Oct 10 21:24:27 EDT 2009

Author: theory
Date: Sat Oct 10 21:24:27 2009
New Revision: 7545


Backported deprecation documentation for `path_for()`.

Modified: Template-Declare/branches/mixmaster/lib/Template/Declare.pm
--- Template-Declare/branches/mixmaster/lib/Template/Declare.pm	(original)
+++ Template-Declare/branches/mixmaster/lib/Template/Declare.pm	Sat Oct 10 21:24:27 2009
@@ -743,7 +743,8 @@
     my $path = Template::Declare->path_for('index');
 Returns the path for the template name to be used for show, adjusted with
-paths used in C<mix>.
+paths used in C<mix>. Note that this will only work for the last class into
+which you imported the template. This method is, therefore, deprecated.

More information about the Jifty-commit mailing list