Skip to content

Commit

Permalink
Add not_local_only question to status model
Browse files Browse the repository at this point in the history
  • Loading branch information
Joyce Mayorga committed Jun 2, 2019
1 parent ac7664f commit f733eb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ class Status < ApplicationRecord
end
}

scope :not_local_only, -> { where(local_only: [false, nil]) }

cache_associated :application,
:media_attachments,
:conversation,
Expand Down

0 comments on commit f733eb9

Please sign in to comment.