diff options
Diffstat (limited to 'app/models/note.rb')
-rw-r--r-- | app/models/note.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 0b988cc3e0f..a3f2980cebd 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -23,6 +23,7 @@ require 'file_size_validator' class Note < ActiveRecord::Base include Mentionable + default_scope { order(created_at: :asc, id: :asc) } default_value_for :system, false attr_mentionable :note |