Removed testing code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8933 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
09d243f4e1
commit
afa6c1a9a7
|
@ -69,7 +69,7 @@ class AttachmentsController < ApplicationController
|
|||
|
||||
@attachment = Attachment.new(:file => request.body)
|
||||
@attachment.author = User.current
|
||||
@attachment.filename = "test" #ActiveSupport::SecureRandom.hex(16)
|
||||
@attachment.filename = ActiveSupport::SecureRandom.hex(16)
|
||||
|
||||
if @attachment.save
|
||||
respond_to do |format|
|
||||
|
|
Loading…
Reference in New Issue