]> cat aescling's git repositories - mastodon.git/commit
Introduce recent to Follow (#3247)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Tue, 23 May 2017 11:12:19 +0000 (20:12 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 23 May 2017 11:12:19 +0000 (13:12 +0200)
commitbf575a1f5e45515733c8c518182bbb0a3c439920
treea26a2f3adc19a816577002ca42bdba5c80f2aebc
parent860ffc05602b148769b87d0cda39985feb9a8486
Introduce recent to Follow (#3247)

Introduce recent to Follow, as Account and other models have.
This change also adds specs for the scope and the dependents.
app/controllers/follower_accounts_controller.rb
app/controllers/following_accounts_controller.rb
app/models/follow.rb
spec/controllers/follower_accounts_controller_spec.rb
spec/controllers/following_accounts_controller_spec.rb
spec/models/follow_spec.rb