[Jifty-commit] r2407 - in jifty/branches/template-declare: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Dec 19 14:35:02 EST 2006


Author: jesse
Date: Tue Dec 19 14:35:01 2006
New Revision: 2407

Modified:
   jifty/branches/template-declare/   (props changed)
   jifty/branches/template-declare/lib/Jifty/Handler.pm

Log:
 r46275 at pinglin:  jesse | 2006-12-19 14:34:54 -0500
 * Ordering of template roots was wrong


Modified: jifty/branches/template-declare/lib/Jifty/Handler.pm
==============================================================================
--- jifty/branches/template-declare/lib/Jifty/Handler.pm	(original)
+++ jifty/branches/template-declare/lib/Jifty/Handler.pm	Tue Dec 19 14:35:01 2006
@@ -159,7 +159,7 @@
 
 sub templatedeclare_config {
     my %config = (
-        roots => [ Jifty->config->framework('TemplateClass') ],
+        roots => [ 'Jifty::View::Declare::Base' ],
         %{ Jifty->config->framework('Web')->{'TemplateDeclareConfig'} ||{}},
     );
 
@@ -169,7 +169,7 @@
         push @{ $config{roots} }, $comp_root ;
     }
 
-    push @{$config{roots}}, 'Jifty::View::Declare::Base';
+    push @{$config{roots}}, Jifty->config->framework('TemplateClass');
 
     return %config;
 }


More information about the Jifty-commit mailing list