lib/oldweb/_tail.rhtml in olddoc-1.8.0 vs lib/oldweb/_tail.rhtml in olddoc-1.9.0
- old
+ new
@@ -1,9 +1,9 @@
<%
public_email = @old_cfg['public_email']
private_email = @old_cfg['private_email']
source_code = Array(@old_cfg['source_code']).dup
-archive_urls = Array(@old_cfg['ml_url']) + Array(@old_cfg['nntp_url'])
+archive_urls = Array(@old_cfg.values_at(*%W(ml_url nntp_url imap_url))).flatten
if url = archive_urls.shift %><hr /><pre>
mail archives: <a
href="<%= url %>"><%= url %></a><%
archive_urls.each do |u| %>
<a