You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2018/03/26 12:53:47 UTC
[whimsy] branch master updated: Ooops, our uri is bare,
just add the .txt for datafile link
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 ae10c9c Ooops, our uri is bare, just add the .txt for datafile link
ae10c9c is described below
commit ae10c9cf23d087cac5cd7499cf957229de9ae133
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Mon Mar 26 08:53:42 2018 -0400
Ooops, our uri is bare, just add the .txt for datafile link
---
www/roster/views/duties.html.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/roster/views/duties.html.rb b/www/roster/views/duties.html.rb
index 083a148..71fe882 100644
--- a/www/roster/views/duties.html.rb
+++ b/www/roster/views/duties.html.rb
@@ -126,8 +126,8 @@ _html do
_h4.text_warning('See This Source File')
end
_li.list_group_item do
- 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}"
+ txtnam = File.basename("#{env['REQUEST_URI']}")
+ _a "foundation/officers/personnel-duties/#{txtnam}.txt", href: "https://svn.apache.org/repos/private/foundation/officers/personnel-duties/#{txtnam}.txt"
end
end
--
To stop receiving notification emails like this one, please contact
curcuru@apache.org.