[Jifty-commit] r7527 - Template-Declare/trunk/lib/Template
Jifty commits
jifty-commit at lists.jifty.org
Thu Oct 8 13:11:59 EDT 2009
Author: theory
Date: Thu Oct 8 13:11:58 2009
New Revision: 7527
Modified:
Template-Declare/trunk/lib/Template/Declare.pm
Log:
Deprecate `path_for()` (in documentation).
Modified: Template-Declare/trunk/lib/Template/Declare.pm
==============================================================================
--- Template-Declare/trunk/lib/Template/Declare.pm (original)
+++ Template-Declare/trunk/lib/Template/Declare.pm Thu Oct 8 13:11:58 2009
@@ -498,8 +498,10 @@
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<import_templates>.
+Returns the path for the template name to be used for show, adjusted with
+paths used in C<import_templates>. Note that this will only work for the last
+class into which you imported the template. This method is, therefore,
+deprecated.
=cut
More information about the Jifty-commit
mailing list