Fixing the file extension in formatted_name that was not fixed correctly in #657
This commit is contained in:
parent
f4dcdb663d
commit
967e3e6d5a
@ -270,7 +270,7 @@ class DmsfFileRevision < ActiveRecord::Base
|
||||
format2.sub!('%v', self.version)
|
||||
format2.sub!('%i', self.dmsf_file.id.to_s)
|
||||
format2.sub!('%r', self.id.to_s)
|
||||
format2 + ext if ext
|
||||
format2 += ext if ext
|
||||
format2
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user