@@ -67,7 +67,7 class AttachmentsController < ApplicationController | |||
|
67 | 67 | return |
|
68 | 68 | end |
|
69 | 69 | |
|
70 |
@attachment = Attachment.new(:file => request. |
|
|
70 | @attachment = Attachment.new(:file => request.raw_post) | |
|
71 | 71 | @attachment.author = User.current |
|
72 | 72 | @attachment.filename = Redmine::Utils.random_hex(16) |
|
73 | 73 |
General Comments 0
You need to be logged in to leave comments.
Login now