@@ -23,10 +23,6 class Change < ActiveRecord::Base | |||
|
23 | 23 | before_validation :replace_invalid_utf8_of_path |
|
24 | 24 | attr_protected :id |
|
25 | 25 | |
|
26 | def relative_path | |
|
27 | changeset.repository.relative_path(path) | |
|
28 | end | |
|
29 | ||
|
30 | 26 | def replace_invalid_utf8_of_path |
|
31 | 27 | self.path = Redmine::CodesetUtil.replace_invalid_utf8(self.path) |
|
32 | 28 | self.from_path = Redmine::CodesetUtil.replace_invalid_utf8(self.from_path) |
General Comments 0
You need to be logged in to leave comments.
Login now