This is an automated email from the ASF dual-hosted git repository.
rubys 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 38a4ba2 add back in trailing slash
38a4ba2 is described below
commit 38a4ba295f610bb30119bbf8bd06207a618ac39a
Author: Sam Ruby <[email protected]>
AuthorDate: Fri Apr 21 22:26:34 2017 -0400
add back in trailing slash
---
www/secretary/workbench/views/index.html.rb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/secretary/workbench/views/index.html.rb
b/www/secretary/workbench/views/index.html.rb
index d4dffd7..347a31a 100644
--- a/www/secretary/workbench/views/index.html.rb
+++ b/www/secretary/workbench/views/index.html.rb
@@ -1,4 +1,10 @@
_html do
+ if ENV["RACK_BASE_URI"] + '/' == _.env['REQUEST_URI']
+ # not sure why Passenger/rack is eating the trailing slash here.
+ # add it back in.
+ _base href: _.env['REQUEST_URI']
+ end
+
_title 'ASF Secretary Mail'
_link rel: 'stylesheet', type: 'text/css', href: "secmail.css?#{@cssmtime}"
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].