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: e66e5281d787644f3c1586e7963aabb4ec389c99
4
- data.tar.gz: d2882d2a7063215dd9e3022557a0841a08a30ba5
3
+ metadata.gz: 8450b658f3a7ed9d59dbf8ed811267587391bbf8
4
+ data.tar.gz: c1e4deca76bcf0fb9d81ac881cddeae235a5e6ed
5
5
  SHA512:
6
- metadata.gz: 0d6e139d18b9e60f428fc70e785e0051f0f4105a2fea078d9451c8c46d3db00da05b056ec9db6da065ad6adaf9cf6a545155ff22302a81c3299723edca220480
7
- data.tar.gz: 86ce52486d44c59276878982208857e6afc3f1fc6e60cabaa53cb5c53b6b6917a88473883363ee7c0b05893a5840e882f3715f559d315a5bf23a059faad84704
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
 
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.1.27'
2
+ VERSION = '1.1.28'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.27
4
+ version: 1.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse