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 05:24:18 UTC

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

Author: joes
Date: Mon Mar 24 04:24:18 2014
New Revision: 1580735

URL: http://svn.apache.org/r1580735
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=1580735&r1=1580734&r2=1580735&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Mon Mar 24 04:24:18 2014
@@ -28,7 +28,8 @@ our @patterns = (
         headers    => { title => "Index" }, # "Index" is magical with the sitemap view
     }],
     [qr!^/test/!,              snippet => { %thrift_args,
-        view       => [qw/append_snippet_footer reconstruct trim_local_link_extensions single_narrative/],
+        view       => [qw/append_snippet_footer reconstruct
+                          trim_local_markdown_link_extensions single_narrative/],
     }],
     [qr/\.md(?:text)?$/,       snippet => { %thrift_args,
         view       => 'single_narrative',

Modified: thrift/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1580735&r1=1580734&r2=1580735&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Mon Mar 24 04:24:18 2014
@@ -17,7 +17,7 @@ EOT
     return view->can($view)->(%args);
 }
 
-sub trim_local_link_extensions {
+sub trim_local_markdown_link_extensions {
     my %args = @_;
     $args{view} = [@{$args{view}}] if ref $args{view};
     my $view = ref $args{view} ? shift @{$args{view}} : delete $args{view};