set attachment name
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ module Submitters
|
|||||||
|
|
||||||
ActiveStorage::Attachment.create!(
|
ActiveStorage::Attachment.create!(
|
||||||
blob:,
|
blob:,
|
||||||
name: params[:name],
|
name: 'attachments',
|
||||||
record: submitter
|
record: submitter
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user