[Jifty-commit] r6350 - in jifty/trunk: lib/Jifty/View/Static

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 18 16:52:14 EST 2009


Author: alexmv
Date: Wed Feb 18 16:52:13 2009
New Revision: 6350

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/View/Static/Handler.pm

Log:
 r42176 at kohr-ah:  chmrr | 2009-02-18 16:52:03 -0500
  * Update static handler to work in new world order


Modified: jifty/trunk/lib/Jifty/View/Static/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Static/Handler.pm	(original)
+++ jifty/trunk/lib/Jifty/View/Static/Handler.pm	Wed Feb 18 16:52:13 2009
@@ -147,7 +147,10 @@
 =cut
 
 sub template_exists {
-    shift->file_path(@_);
+    my $class = shift;
+    my $template = shift;
+    return $template if $class->file_path($template);
+    return undef;
 }
 
 sub file_path {


More information about the Jifty-commit mailing list