You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/10/09 16:48:45 UTC

[whimsy] branch master updated: So it works from tools listing page

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 <se...@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