]> source.dussan.org Git - redmine.git/commitdiff
Removed testing code.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 23 Feb 2012 10:57:50 +0000 (10:57 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 23 Feb 2012 10:57:50 +0000 (10:57 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8933 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/attachments_controller.rb

index e6fa8a8a88ff78d9dfe52c57ea3a3991d2e78b93..2c79e8613604bb893fd59790672a3bc4ffbd3dd1 100644 (file)
@@ -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|