Show 10 users at a time instead of just five, the user list has plenty space.

This commit is contained in:
Jyri-Petteri Paloposki 2020-08-10 23:19:13 +03:00
parent fb9df3dfb8
commit f8cf140bf4

View file

@ -7,7 +7,7 @@ class User < ApplicationRecord
#for will_paginate plugin
cattr_accessor :per_page
@@per_page = 5
@@per_page = 10
has_many(:contexts, -> { order 'position ASC' }, dependent: :delete_all) do
def find_by_params(params)