* fixed Issue 148: Link to folders for the results

git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@229 5e329b0b-a2ee-ea63-e329-299493fc886d
This commit is contained in:
vit.jonas@gmail.com 2011-09-13 12:41:37 +00:00
parent 028b30dfc4
commit 5d0146ca00

View File

@ -39,7 +39,7 @@ class DmsfFolder < ActiveRecord::Base
acts_as_event :title => Proc.new {|o| o.title}, acts_as_event :title => Proc.new {|o| o.title},
:description => Proc.new {|o| o.description }, :description => Proc.new {|o| o.description },
:url => Proc.new {|o| {:controller => "dmsf", :action => "show", :folder_id => o}}, :url => Proc.new {|o| {:controller => "dmsf", :action => "show", :id => o.project, :folder_id => o}},
:datetime => Proc.new {|o| o.updated_at }, :datetime => Proc.new {|o| o.updated_at },
:author => Proc.new {|o| o.user } :author => Proc.new {|o| o.user }