You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/02/08 03:58:05 UTC

svn commit: r1565882 - /myfaces/site/cms-site/trunk/lib/view.pm

Author: lu4242
Date: Sat Feb  8 02:58:04 2014
New Revision: 1565882

URL: http://svn.apache.org/r1565882
Log:
test how to fix documentation

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

Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1565882&r1=1565881&r2=1565882&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Sat Feb  8 02:58:04 2014
@@ -130,11 +130,6 @@ sub news_page {
     return Dotiac::DTL::Template($template)->render(\%args), html => \%args;
 }
 
-sub pagetree {
-   my $dir = @_;
-   return "Hello pagetree";
-}
-
 # Recursive Sitemap generation
 # Taken from: http://svn.apache.org/repos/asf/chemistry/site/trunk/lib/view.pm
 sub sitemap {
@@ -316,7 +311,8 @@ sub breadcrumbs {
 }
 
 sub pagetree {
-    return "This is a demo function in perl to show a page tree!";
+   my $dir = @_;
+   return "Hello pagetree @_";
 }
 
 # Returns information on the last change to the file