diff --git a/README.md b/README.md index 67d1238d..7650e13d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ -Redmine DMSF Plugin -=================== - -The current version of Redmine DMSF is **3.0.7 devel** +Redmine DMSF Plugin 3.0.7 devel +=============================== [![GitHub CI](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml/badge.svg?branch=devel)](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml) [![Support Ukraine Badge](https://bit.ly/support-ukraine-now)](https://github.com/support-ukraine/support-ukraine) diff --git a/app/models/dmsf_file.rb b/app/models/dmsf_file.rb index 5c35a1ac..31a942c3 100644 --- a/app/models/dmsf_file.rb +++ b/app/models/dmsf_file.rb @@ -318,7 +318,7 @@ class DmsfFile < ActiveRecord::Base if File.exist? last_revision.disk_file FileUtils.cp last_revision.disk_file, new_revision.disk_file(false) end - new_revision.comment = l(:comment_copied_from, source: "#{self.project.identifier}: #{dmsf_path_str}") + new_revision.comment = l(:comment_copied_from, source: "#{self.project.identifier}:#{dmsf_path_str}") new_revision.custom_values = [] last_revision.custom_values.each do |cv| v = CustomValue.new