alchemy-custom-model 3.1.3 → 3.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '028e68c8f085f2edc86ab9d40205c603f9118c033aa2cc33f7e5f7762e787a6f'
4
- data.tar.gz: b617c1996d2f3632f6175c2641641ea8794235bac8709a1a93887a51e94787e4
3
+ metadata.gz: 01ad87a5e290d623e8d028c5037e9240d52144db8eeb467154437172c5dfd8cd
4
+ data.tar.gz: d6a26111999eef68a341f0ab1bf12ad02c0394b28342415d697c280ba2f9a740
5
5
  SHA512:
6
- metadata.gz: 2ffc392f726016cfd74bbd8c96159323d36889eacdf4919b37b0a9bc5c8215d9e27d6736fd4b6131596ad6f1d4178d4fd110442800234c812cbccdc3c8571390
7
- data.tar.gz: 53e285be0a561da95d43c4a6f1bf434541c66e08965e0abcb299f270a1d02f5d6b9f88edde209da9c6463e99c240e76ed49186f07a9308e84d70cd698d0fef1b
6
+ metadata.gz: 4886147f390121611f0d8b9f9adb187edb4a920aed5d57f3eb77f93782108270e303903db4e465510549fe6f815fd8b56fd66f4ed278f2c83b6fae0f1882355f
7
+ data.tar.gz: af3798384c8550eb3f03dc20153faddeac62b53131637ad03480994eef4fa8808b932aa5f19b6b345f7c1340e28a8b19fd4884ed9b9e690b91f6d771282b6e4b
@@ -8,7 +8,7 @@ module Alchemy::Custom::Model::Admin::OrdersHelper
8
8
  end
9
9
 
10
10
  def order_path(options = {})
11
- new_polymorphic_path([:admin, base_class.to_s.pluralize.underscore, :order], options)
11
+ new_polymorphic_path([:admin, base_class.to_s.pluralize.underscore.to_sym, :order], options)
12
12
  end
13
13
 
14
14
  def index_ordered_path(obj = nil, options = {})
@@ -21,7 +21,7 @@ module Alchemy::Custom::Model::Admin::OrdersHelper
21
21
 
22
22
  def update_order_path(obj=nil,options = {})
23
23
  if obj.nil?
24
- polymorphic_path([:admin, base_class.to_s.pluralize.underscore, :order], options)
24
+ polymorphic_path([:admin, base_class.to_s.pluralize.underscore.to_sym, :order], options)
25
25
  else
26
26
  polymorphic_path([:admin, obj, :order], options)
27
27
 
@@ -1,7 +1,7 @@
1
1
  module Alchemy
2
2
  module Custom
3
3
  module Model
4
- VERSION = '3.1.3'
4
+ VERSION = '3.1.4'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-custom-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Baccanelli
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-07-14 00:00:00.000000000 Z
12
+ date: 2021-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: alchemy_cms