whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: So it works from tools listing page
Date Fri, 09 Oct 2020 16:48:45 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new dd655f1  So it works from tools listing page
dd655f1 is described below

commit dd655f144eebef6daba9783bb2949276c619a20a
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Oct 9 17:48:36 2020 +0100

    So it works from tools listing page
---
 www/foundation/orgchart.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/foundation/orgchart.cgi b/www/foundation/orgchart.cgi
index 097642f..2a19ed7 100755
--- a/www/foundation/orgchart.cgi
+++ b/www/foundation/orgchart.cgi
@@ -183,7 +183,7 @@ _html do
     }
     ) do
       request = ENV['REQUEST_URI']
-      if request =~ /orgchart\/?\z/
+      if request =~ /orgchart\/?\z/ || request == '/foundation/orgchart.cgi' # as from tools
listing
         emit_orgchart(org: ASF::OrgChart.load)
       elsif request =~ /orgchart\/([^\/?#]+)/
         orgchart = ASF::OrgChart.load


Mime
View raw message