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/24 21:43:12 UTC

svn commit: r1581052 - /thrift/cms-site/trunk/lib/path.pm

Author: joes
Date: Mon Mar 24 20:43:12 2014
New Revision: 1581052

URL: http://svn.apache.org/r1581052
Log:
simplify

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

Modified: thrift/cms-site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1581052&r1=1581051&r2=1581052&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Mon Mar 24 20:43:12 2014
@@ -25,7 +25,7 @@ our @patterns = (
         nest      => 1,
     }],
     [qr!^/index\.html$!,       snippet => { %thrift_args,
-        view      => [qw/news_page/],
+        view      => 'news_page',
         headers   => { title => "Home" },
     }],
     [qr!/index\.html$!,        offline => { %thrift_args,
@@ -42,7 +42,7 @@ our @patterns = (
 
     }],
     [qr/\.md(?:text)?$/,       snippet => { %thrift_args,
-        view      => [qw/single_narrative/],
+        view      => 'single_narrative/,
     }],
 );