roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1610782 - in /roller/cmssite/trunk/lib: path.pm view.pm
Date Tue, 15 Jul 2014 18:00:03 GMT
Author: gmazza
Date: Tue Jul 15 18:00:03 2014
New Revision: 1610782

URL: http://svn.apache.org/r1610782
Log:
Test to see if script being used.

Modified:
    roller/cmssite/trunk/lib/path.pm
    roller/cmssite/trunk/lib/view.pm

Modified: roller/cmssite/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/roller/cmssite/trunk/lib/path.pm?rev=1610782&r1=1610781&r2=1610782&view=diff
==============================================================================
--- roller/cmssite/trunk/lib/path.pm (original)
+++ roller/cmssite/trunk/lib/path.pm Tue Jul 15 18:00:03 2014
@@ -6,8 +6,8 @@ use ASF::Value;
 # taken from django's url.py
 
 our @patterns = (
-	[qr!/glentest.mdtext$!, basic => { template => "test.html" }],
-	[qr!\.mdtext$!, basic => { template => "basic.html" }],
+	[qr!/glentest.mdtext$!, basicc => { template => "test.html" }],
+	[qr!\.mdtext$!, basicc => { template => "basic.html" }],
 ) ;
 
 # [qr!/sitemap\.html$!, sitemap => { headers => { title => "Sitemap" }} ],

Modified: roller/cmssite/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/roller/cmssite/trunk/lib/view.pm?rev=1610782&r1=1610781&r2=1610782&view=diff
==============================================================================
--- roller/cmssite/trunk/lib/view.pm (original)
+++ roller/cmssite/trunk/lib/view.pm Tue Jul 15 18:00:03 2014
@@ -66,7 +66,7 @@ sub basic {
       $args{path} = "$args{path}$args{indexpage}";
     }
     
-    $args{path} =~ s/\.md(text)?$/123\.html/;
+    $args{path} =~ s/\.md(text)?$/\.html/;
     $args{base} = _base($args{path});
     $args{breadcrumbs} = _breadcrumbs($args{path}, $args{base});
 



Mime
View raw message