Fix order of attachments (see #269)
parent
264eeff54e
commit
b344f157cc
|
@ -16,6 +16,8 @@ class MediaAttachment < ApplicationRecord
|
|||
|
||||
validates :account, presence: true
|
||||
|
||||
default_scope { order('id asc') }
|
||||
|
||||
def local?
|
||||
remote_url.blank?
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue