Commit f860d15d authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix order of attachments (see #269)

parent 397f7dda
......@@ -16,6 +16,8 @@ class MediaAttachment < ApplicationRecord
validates :account, presence: true
default_scope { order('id asc') }
def local?
remote_url.blank?
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment