0
0
Fork 0

Remove default_scope from StatusEdit class (#28042)

This commit is contained in:
Matt Jankowski 2023-11-23 04:26:11 -05:00 committed by GitHub
parent 990c63b440
commit 4be12791e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ class StatusEdit < ApplicationRecord
belongs_to :status
belongs_to :account, optional: true
default_scope { order(id: :asc) }
scope :ordered, -> { order(id: :asc) }
delegate :local?, :application, :edited?, :edited_at,
:discarded?, :visibility, to: :status