added a new config value and initializer for will_paginate
This commit is contained in:
parent
fcac636f07
commit
57dc1f51c6
|
@ -0,0 +1 @@
|
||||||
|
WillPaginate.per_page = APP_CONFIG['items_per_page']
|
|
@ -1,3 +1,8 @@
|
||||||
|
# The site name, shown everywhere.
|
||||||
site_name: "justask"
|
site_name: "justask"
|
||||||
|
|
||||||
anonymous_name: "Anonymous Coward"
|
# Name of the "Anonymous" user. (e.g. "Anonymous Coward", "Arno Nym", "Mr. X", ...)
|
||||||
|
anonymous_name: "Anonymous"
|
||||||
|
|
||||||
|
# How many items (questions, answers, ...) do you want to show per page?
|
||||||
|
items_per_page: 10
|
Loading…
Reference in New Issue