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/01 00:04:48 UTC

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

Author: lu4242
Date: Fri Jan 31 23:04:48 2014
New Revision: 1563326

URL: http://svn.apache.org/r1563326
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=1563326&r1=1563325&r2=1563326&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Fri Jan 31 23:04:48 2014
@@ -359,14 +359,14 @@ sub breadcrumbs {
     my @rv;
     my $relpath = "";
     my $ignoreCount = 0;
-    my $curFile = "";
+    my $targetpath = "";
     for (@path) {
-        $curFile = $_;
-        $relpath .= "$_";
+        $targetpath = $relpath;
+        $relpath .= "$_/";
         # Ignore top level
         if ($ignoreCount > 0) {
             $_ ||= "Home";
-            push @rv, qq(<a href="$relpath/">\u$_ $curFile</a>);
+            push @rv, qq(<a href="$relpath">\u$_ $targetpath</a>);
         }
         $ignoreCount = $ignoreCount + 1;
     }