OSDN Git Service

Returns a 404 error when trying to view/download an attachment that can't be read...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Apr 2009 09:31:36 +0000 (09:31 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Apr 2009 09:31:36 +0000 (09:31 +0000)
commit15a14e55cdb9b8c2633786fa262382b6e1f7ea9f
treec880f5159d4c76ebdd52a5ea2774fdbbc8354e59
parent914ef1cb2551dc4e3fe5d7f544e8d16ea21a2d7d
Returns a 404 error when trying to view/download an attachment that can't be read from disk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2692 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/attachments_controller.rb
app/models/attachment.rb
test/functional/attachments_controller_test.rb