fix buggy link in "issue"-details-view for DMS-files

There is a issue sending DMS-files via the issues-detail-view, since the params structure was changed in 1.6.1 in the 'entries_operation'-action.
This commit is contained in:
Tobias Gonsior 2018-04-27 13:52:10 +02:00 committed by GitHub
parent 44420bd513
commit cb335c6605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@
<% end %>
<% # Email %>
<%= link_to('', entries_operations_dmsf_path(:id => dmsf_file.project_id, :email_entries => 'email',
:files => [dmsf_file.id]), :method => :post, :title => l(:heading_send_documents_by_email),
:ids => ["file-#{dmsf_file.id}"]), :method => :post, :title => l(:heading_send_documents_by_email),
:class => 'icon-only icon-email-disabled') %>
<% # Lock %>
<% if !dmsf_file.locked? %>