Merge pull request #220 from williamschey/master

Show document on search link
This commit is contained in:
Karel Picman 2014-02-06 11:52:29 +01:00
commit dc7b8e8b25

View File

@ -61,7 +61,7 @@ class DmsfFile < ActiveRecord::Base
acts_as_event :title => Proc.new {|o| "#{o.title} - #{o.name}"},
:description => Proc.new {|o| o.description },
:url => Proc.new {|o| {:controller => 'dmsf_files', :action => 'show', :id => o, :download => ''}},
:url => Proc.new {|o| {:controller => 'dmsf_files', :action => 'show', :id => o}},
:datetime => Proc.new {|o| o.updated_at },
:author => Proc.new {|o| o.last_revision.user }