Remove unnecessary multipart parameter
Rails automatically adds it when using file fields inside a form.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= translatable_form_for(investment, url: url, html: { multipart: true }) do |f| %>
|
||||
<%= translatable_form_for(investment, url: url) do |f| %>
|
||||
|
||||
<%= render "shared/errors", resource: investment %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user