X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ba5107ebb543a396fc78069c75c431e4d3887ee1..c798962cda8ede6425ce56c59533bc476180a830:/app/models/note_comment.rb 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