diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-28 16:13:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-28 16:13:39 +0000 |
commit | 4ded4277c51b8f35dc9eaa031c918e55470a44b5 (patch) | |
tree | 23ed025fdde0efd01bf016e4109a9fe3dddeac4f /app/models/attachment.rb | |
parent | b60bedafc0589167b88053a98c2fc776d748fc74 (diff) | |
download | redmine-4ded4277c51b8f35dc9eaa031c918e55470a44b5.tar.gz redmine-4ded4277c51b8f35dc9eaa031c918e55470a44b5.zip |
Activity view now uses events attributes.
Fixed: error on activity feed if it contains a document.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@876 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/attachment.rb')
-rw-r--r-- | app/models/attachment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/attachment.rb b/app/models/attachment.rb index 4591a1109..d2bcab33f 100644 --- a/app/models/attachment.rb +++ b/app/models/attachment.rb @@ -27,7 +27,7 @@ class Attachment < ActiveRecord::Base acts_as_event :title => :filename, :description => :filename, - :url => Proc.new {|o| {:controller => 'attachment', :action => 'download', :id => o.id}} + :url => Proc.new {|o| {:controller => 'attachments', :action => 'download', :id => o.id}} cattr_accessor :storage_path @@storage_path = "#{RAILS_ROOT}/files" |