Fixed download api link.

This commit is contained in:
Martin Edenhofer 2013-08-26 10:04:39 +02:00
parent a7c2b33390
commit e216d4a056

View file

@ -32,7 +32,7 @@
<% if article.attachments: %>
<div>
<% for attachment in article.attachments: %>
<a href="api/ticket_attachment/<%= article.ticket_id %>/<%= article.id %>/<%= attachment.id %>" target="_blank" data-type="attachment" class="" title="<%= attachment.size %>"><%= attachment.filename %></a>
<a href="<%= App.Config.get('api_path') %>/ticket_attachment/<%= article.ticket_id %>/<%= article.id %>/<%= attachment.id %>" target="_blank" data-type="attachment" class="" title="<%= attachment.size %>"><%= attachment.filename %></a>
<% end %>
</div>
<% end %>