activeadmin_reorderable 0.1.0 → 0.1.2
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: 533fddb925c85604403ee6f2d3ad8e7f1f6aaa5d
|
4
|
+
data.tar.gz: f5f3b26bdb74b288c1bf5b48297cd32e88722cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e21bdf88afedd86426072e55789d0bc153efd7ca7cb9588f37cf55b2b8db0c9d2c53560329d33b61ce54475d549364ff2fe91ffb0155374d481f90987d5ef8
|
7
|
+
data.tar.gz: 6a7ff481bdb0b4e1518137820cd344645962a4585364c7915e9005a4781354e4fb2a447474b403efe066a0cd3b58fa61b168e2538aeb6d6feeee4a0b987ed44c
|
@@ -11,7 +11,11 @@ module ActiveAdmin
|
|
11
11
|
private
|
12
12
|
|
13
13
|
def reorder_handle_for(resource)
|
14
|
-
url =
|
14
|
+
url = [
|
15
|
+
active_admin_namespace.resource_for(resource.class).route_instance_path(resource),
|
16
|
+
:reorder
|
17
|
+
].join('/')
|
18
|
+
|
15
19
|
span(reorder_handle_content, :class => 'reorder-handle', 'data-reorder-url' => url)
|
16
20
|
end
|
17
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_reorderable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Jones
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-02-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activeadmin
|