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
This commit is contained in:
1 parent
b60bedafc0
commit
4ded4277c5
3 files changed
+6
-35
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user