app/views/logs/index.erb in tailog-0.6.4 vs app/views/logs/index.erb in tailog-0.6.5
- old
+ new
@@ -165,9 +165,12 @@
<% stat = File.stat(file) %>
<tr>
<td>
<a href="?file=<%= relative_file %>"><%= file %></a>
+ <a href="logs/download?file=<%= relative_file %>" download>
+ <span class="glyphicon glyphicon-download-alt"></span>
+ </a>
</td>
<td>
<%= stat.size.to_filesize %>
</td>
<td>