This is an automated email from the ASF dual-hosted git repository.
curcuru 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 9431575 Sinatra apps use env instead of ENV
9431575 is described below
commit 9431575e1fde92a66d4cddd06b9a5c0d04d37ad4
Author: Shane Curcuru <[email protected]>
AuthorDate: Mon Mar 26 08:51:34 2018 -0400
Sinatra apps use env instead of ENV
---
www/roster/views/duties.html.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/roster/views/duties.html.rb b/www/roster/views/duties.html.rb
index 29fb91a..083a148 100644
--- a/www/roster/views/duties.html.rb
+++ b/www/roster/views/duties.html.rb
@@ -126,7 +126,7 @@ _html do
_h4.text_warning('See This Source File')
end
_li.list_group_item do
- txtnam = File.basename("#{ENV['REQUEST_URI']}").sub('.cgi', '.txt')
+ txtnam = File.basename("#{env['REQUEST_URI']}").sub('.cgi', '.txt')
_a "foundation/officers/personnel-duties/#{txtnam}", href:
"https://svn.apache.org/repos/private/foundation/officers/personnel-duties/#{txtnam}"
end
end
--
To stop receiving notification emails like this one, please contact
[email protected].