corn_starch 1.3.40 → 1.3.41

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: 169759f074a90ed6c5d06054acd78e4fe5b0fa82
4
- data.tar.gz: 6f319c030934b0cf2aabf758b7fb64ff571b5d94
3
+ metadata.gz: f026cef6f4663ce5d8e205be1254f1716831cb69
4
+ data.tar.gz: 1ef58b06e258c2b8aa26b387a45086616237e4a8
5
5
  SHA512:
6
- metadata.gz: 179ad04d4fa17c5d7dea74e8f4c65970967e8722ba8cf53c79908d0e6e780affc379393da80b4be666d0b02c43d19ef367e03da9c74dc5eca92cd961a6cd5512
7
- data.tar.gz: 62320271afdf29397cc49785312920d0226f0d4d1a1d4dea5840cce30a2010e2c269bcfec2e9d02da59ce098ae536980a8b011f46b0b2016f921c035771059ef
6
+ metadata.gz: bb52ec3967fff7eef6cf5d6cdc346a8205262027f1d3dd3ebdd90f60f5e3aa3678e5ae20fc36d8ccea48c971e60ad7b0bbc99cd2863508efb63e9e8c71e737b2
7
+ data.tar.gz: 83c2e01832b0f932794284fa32f39575a175cf8cbc0290392bde00ca09b72003f2ffac69d53b901a7205c77d6b382acb96b0d23ffd4e8533edf469326f277fde
@@ -22,6 +22,13 @@ module CornStarch
22
22
  # Include all Helpers
23
23
  helper CornStarch.helpers
24
24
 
25
+ # Default URL Options
26
+ def default_url_options options = {}
27
+
28
+ # Include Locale in all generated URLs
29
+ { locale: I18n.locale }.merge options
30
+ end
31
+
25
32
  # Private
26
33
  private
27
34
 
@@ -119,13 +126,6 @@ module CornStarch
119
126
  params[:id] == current_user.id.to_s
120
127
  end
121
128
 
122
- # Default URL Options
123
- def default_url_options options = {}
124
-
125
- # Include Locale in all generated URLs
126
- { locale: I18n.locale }.merge options
127
- end
128
-
129
129
  # Get Records
130
130
  def get_records model, params
131
131
  paginate unisearch(model, params[:search]), params
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.40'
2
+ VERSION = '1.3.41'
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.3.40
4
+ version: 1.3.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse