X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ff73d1225554de6f6ec2aee7bcd9faa527c0d552..43f39c50a358bef5be0847888318a64f162c9faf:/app/models/note_comment.rb?ds=sidebyside diff --git a/app/models/note_comment.rb b/app/models/note_comment.rb index 399029118..07d43cd74 100644 --- a/app/models/note_comment.rb +++ b/app/models/note_comment.rb @@ -1,5 +1,5 @@ class NoteComment < ActiveRecord::Base - belongs_to :note, :foreign_key => :note_id + belongs_to :note, :foreign_key => :note_id, :touch => true belongs_to :author, :class_name => "User", :foreign_key => :author_id validates_presence_of :id, :on => :update