corn_starch 1.1.27 → 1.1.28
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8450b658f3a7ed9d59dbf8ed811267587391bbf8
|
4
|
+
data.tar.gz: c1e4deca76bcf0fb9d81ac881cddeae235a5e6ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49f83dac344f3d7f60294d1cfe307295cb0fdd0415aed2b2b4d930b4633e6e67f1f3936bd533fe2b57cd186c02db3e7c7dd69646f8ad9961e802c9223206ec32
|
7
|
+
data.tar.gz: 8b87cdf328219a7a38c48c09e3057df60c35d8b73561b1e4ac54d3d9152ba9765024e00bde2ba5fc132c94a349df2549a3ec0c138038ee30571384aacfbacab7
|
@@ -49,6 +49,9 @@ module CornStarch
|
|
49
49
|
# Pagination Filter
|
50
50
|
def pagination_filter
|
51
51
|
|
52
|
+
# Create Pagination
|
53
|
+
@pagination ||= {}
|
54
|
+
|
52
55
|
# Set Records Per Page from Request Arguments
|
53
56
|
session[:pagination][:recs_per_page] = params[:records_per_page].to_i if params[:records_per_page]
|
54
57
|
|
data/lib/corn_starch/version.rb
CHANGED