Basic attachment download function.

This commit is contained in:
James Cole
2015-07-18 21:32:31 +02:00
parent 359fab315f
commit cc1af60cb4
6 changed files with 115 additions and 2 deletions

View File

@@ -89,7 +89,7 @@
</td>
<td>
<i class="fa fa-file-pdf-o"></i>
<a href="#">{{ att.filename }}</a>
<a href="{{ route('attachment.download', att.id) }}">{{ att.filename }}</a>
({{ att.size|filesize }})
</td>
</tr>