Author: joes
Date: Wed Mar 19 21:54:30 2014
New Revision: 1579420

URL: http://svn.apache.org/r1579420
Log:
enable template preprocessing manually

Modified:
    thrift/cms-site/trunk/lib/view.pm

Modified: thrift/cms-site/trunk/lib/view.pm
URL: 
http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1579420&r1=1579419&r2=1579420&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Wed Mar 19 21:54:30 2014
@@ -23,7 +23,7 @@ sub thrift_preprocessor {
                            "{{ " . $key++ . ".list.$a{index} }}";
                        }ge;
 
-    my @rv = view->can($args{view})->(%args);
+    my @rv = view->can($args{view})->(preprocess => 1, %args);
     $args{memo}->{$file} = \@rv if exists $args{memo};
     return @rv;
 }


Reply via email to