about summary refs log tree commit diff
path: root/config/initializers/pagination.rb
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-05-16 19:30:14 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-05-16 12:30:14 +0200
commit77cd6b5096369cf8986a6bb23e5375f3cba7ff8a (patch)
treee4d5b52dc0a15ad5abcdfebcf47f11e796c8eea3 /config/initializers/pagination.rb
parent55fd55714a374eaedfab457f7e7254f816911ff1 (diff)
Do not use permitted_for scope when querying pinned statuses (#7510)
permitted_for scope is slow when combined with pinned status scope.
Fortunately permitted_for scope can safely be removed because a pinned
status is always public.
Diffstat (limited to 'config/initializers/pagination.rb')
0 files changed, 0 insertions, 0 deletions