summaryrefslogtreecommitdiffstats
path: root/app/models/change.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/change.rb')
-rw-r--r--app/models/change.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/change.rb b/app/models/change.rb
index 6ef56e0de..b24c1bd54 100644
--- a/app/models/change.rb
+++ b/app/models/change.rb
@@ -21,6 +21,7 @@ class Change < ActiveRecord::Base
validates_presence_of :changeset_id, :action, :path
before_save :init_path
before_validation :replace_invalid_utf8_of_path
+ attr_protected :id
def relative_path
changeset.repository.relative_path(path)