* fixed Issue 75: Link for DMSF event in "Activity" is broken

git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@136 5e329b0b-a2ee-ea63-e329-299493fc886d
This commit is contained in:
vit.jonas@gmail.com 2011-06-07 05:54:07 +00:00
parent 4903928c3d
commit a7d7e01f49
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class DmsfFileRevision < ActiveRecord::Base
belongs_to :deleted_by_user, :class_name => "User", :foreign_key => "deleted_by_user_id" belongs_to :deleted_by_user, :class_name => "User", :foreign_key => "deleted_by_user_id"
acts_as_event :title => Proc.new {|o| "DMSF updated: #{o.file.dmsf_path_str}"}, acts_as_event :title => Proc.new {|o| "DMSF updated: #{o.file.dmsf_path_str}"},
:url => Proc.new {|o| {:controller => 'dmsf_detail', :action => 'file_detail', :id => o.file.project, :file_id => o.file}}, :url => Proc.new {|o| {:controller => 'dmsf_files', :action => 'show', :id => o.file}},
:datetime => Proc.new {|o| o.updated_at }, :datetime => Proc.new {|o| o.updated_at },
:description => Proc.new {|o| o.comment }, :description => Proc.new {|o| o.comment },
:author => Proc.new {|o| o.user } :author => Proc.new {|o| o.user }

View File

@ -29,7 +29,7 @@ Redmine::Plugin.register :redmine_dmsf do
name "DMSF" name "DMSF"
author "Vít Jonáš" author "Vít Jonáš"
description "Document Management System Features" description "Document Management System Features"
version "0.8.1" version "0.8.2"
url "https://code.google.com/p/redmine-dmsf/" url "https://code.google.com/p/redmine-dmsf/"
author_url "mailto:vit.jonas@gmail.com" author_url "mailto:vit.jonas@gmail.com"