]> cat aescling's git repositories - mastodon.git/commit
Refactor StatusThreadingConcern (#9626)
authorysksn <bluewhale1982@gmail.com>
Sat, 11 Jan 2020 10:55:33 +0000 (19:55 +0900)
committerYamagishi Kazutoshi <ykzts@desire.sh>
Sat, 11 Jan 2020 10:55:33 +0000 (19:55 +0900)
commit6f8f018e3ed7811998bf2cc10d1b6f0dad54dcef
tree629b16c031d47edc15502735b1e00ab91fc5fe93
parentc10ff359a2c4e1a24e04c80b1b9d46541efc1705
Refactor StatusThreadingConcern (#9626)

* Remove #filter_from_context?

* Create scope Status.with_accounts

Retrieving AR objects should be
their model's scope
app/models/concerns/status_threading_concern.rb
app/models/status.rb