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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01ad87a5e290d623e8d028c5037e9240d52144db8eeb467154437172c5dfd8cd
|
|
4
|
+
data.tar.gz: d6a26111999eef68a341f0ab1bf12ad02c0394b28342415d697c280ba2f9a740
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
|
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.
|
|
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-
|
|
12
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: alchemy_cms
|