mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Load post revisions in correct order
This commit is contained in:
@@ -4,6 +4,8 @@ class PostRevision < ActiveRecord::Base
|
||||
belongs_to :post
|
||||
belongs_to :user
|
||||
|
||||
default_scope { order('number ASC') }
|
||||
|
||||
serialize :modifications, Hash
|
||||
|
||||
after_create :create_notification
|
||||
|
||||
Reference in New Issue
Block a user