diff --git a/app/models/dmsf_file_revision.rb b/app/models/dmsf_file_revision.rb index f024dda4..750fe3ca 100644 --- a/app/models/dmsf_file_revision.rb +++ b/app/models/dmsf_file_revision.rb @@ -25,7 +25,7 @@ class DmsfFileRevision < ActiveRecord::Base 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}"}, - :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 }, :description => Proc.new {|o| o.comment }, :author => Proc.new {|o| o.user } diff --git a/init.rb b/init.rb index be1d43b6..93aa6abf 100644 --- a/init.rb +++ b/init.rb @@ -29,7 +29,7 @@ Redmine::Plugin.register :redmine_dmsf do name "DMSF" author "Vít Jonáš" description "Document Management System Features" - version "0.8.1" + version "0.8.2" url "https://code.google.com/p/redmine-dmsf/" author_url "mailto:vit.jonas@gmail.com"