mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Show 10 users at a time instead of just five, the user list has plenty space.
This commit is contained in:
parent
fb9df3dfb8
commit
f8cf140bf4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue