You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by ro...@apache.org on 2009/06/20 21:16:05 UTC
svn commit: r786887 -
/tapestry/tapestry5/trunk/src/site/apt/guide/url-rewriting.apt
Author: robertdzeigler
Date: Sat Jun 20 19:16:05 2009
New Revision: 786887
URL: http://svn.apache.org/viewvc?rev=786887&view=rev
Log:
TAP5-755: URL rewriting documentation contains an example that won't compile due to lack of a return value
Modified:
tapestry/tapestry5/trunk/src/site/apt/guide/url-rewriting.apt
Modified: tapestry/tapestry5/trunk/src/site/apt/guide/url-rewriting.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/guide/url-rewriting.apt?rev=786887&r1=786886&r2=786887&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/guide/url-rewriting.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/guide/url-rewriting.apt Sat Jun 20 19:16:05 2009
@@ -225,6 +225,7 @@
String newPageName = pageName.replaceAll("page$","");
return new SimpleRequest(request,path.replaceAll(pageName,newPageName);
}
+ return request;
}
}