about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-12-22 23:31:23 +0100
committerGitHub <noreply@github.com>2018-12-22 23:31:23 +0100
commit59e333385b4fe975ea9264d9c5bef7791ec1fd3e (patch)
tree40e0c70fa54d27d8db0255b06812c47e55bcbd81 /app
parent3c033c4352f8b156887cd7157b4a89c23a545838 (diff)
Show 40 profiles per directory page instead of 30 (#9609)
To better align with the list of hashtags
Diffstat (limited to 'app')
-rw-r--r--app/controllers/directories_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/directories_controller.rb b/app/controllers/directories_controller.rb
index df012657a..96fe4c1c6 100644
--- a/app/controllers/directories_controller.rb
+++ b/app/controllers/directories_controller.rb
@@ -32,7 +32,7 @@ class DirectoriesController < ApplicationController
   end
 
   def set_accounts
-    @accounts = Account.discoverable.page(params[:page]).per(30).tap do |query|
+    @accounts = Account.discoverable.page(params[:page]).per(40).tap do |query|
       query.merge!(Account.tagged_with(@tag.id)) if @tag
     end
   end