diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-23 10:57:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-23 10:57:50 +0000 |
commit | afa6c1a9a7365d27272af14aeaf9d8a0a3563e1f (patch) | |
tree | 7cc1ee78118300f30829f6d58cb732a02484ece1 /app/controllers | |
parent | 09d243f4e125a8114ca5af52040f9024f97e78ea (diff) | |
download | redmine-afa6c1a9a7365d27272af14aeaf9d8a0a3563e1f.tar.gz redmine-afa6c1a9a7365d27272af14aeaf9d8a0a3563e1f.zip |
Removed testing code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8933 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/attachments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index e6fa8a8a8..2c79e8613 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -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| |