You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/22 02:47:18 UTC

svn commit: r1580114 - in /thrift/cms-site/trunk/lib: path.pm view.pm

Author: joes
Date: Sat Mar 22 01:47:18 2014
New Revision: 1580114

URL: http://svn.apache.org/r1580114
Log:
better

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

Modified: thrift/cms-site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1580114&r1=1580113&r2=1580114&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Sat Mar 22 01:47:18 2014
@@ -24,7 +24,6 @@ our @patterns = (
         view       => [qw/thrift_preprocessor single_narrative/],
         conf       => $conf,
         template   => 'default.html',
-        preprocess => 1,
     }],
 );
 

Modified: thrift/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1580114&r1=1580113&r2=1580114&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Sat Mar 22 01:47:18 2014
@@ -29,7 +29,7 @@ sub thrift_preprocessor {
                        }ge;
 
     my $view = ref $args{view} ? shift @{$args{view}} : delete $args{view};
-    return view->can($view)->(%args);
+    return view->can($view)->(%args, preprocess => 1);
 }
 
 1;