rails_admin_sort_embedded 0.2.0 → 0.2.0.1
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: 2f9bc3b1ef99d0196e32c4b38012ebd59fd07a74
|
4
|
+
data.tar.gz: c189e691e70862f460fa81fa84f10e864dd5b4f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55a5efb706f62e0ca79115773e9f58c428106ae271efded97ca4a626d7a4c2e800fc2b99e8ad2a41494a923dd738d8692782fc35d5ccce9619792b50dfd34b57
|
7
|
+
data.tar.gz: 1ace88acbb4e38d2c853ab13d34eb079672e5c425e8fedf9c1d5e7cc5c95e5d0ff08e453108e5b642a79a466f0c7a61c471b30d164a3d147a1dd17bbcb27ae44
|
@@ -46,7 +46,7 @@ module RailsAdmin
|
|
46
46
|
# next_id = params[:next_id].to_s
|
47
47
|
|
48
48
|
if ids.empty?
|
49
|
-
return render
|
49
|
+
return render plain: 'Nested set UI error: node ids not defined', status: 500
|
50
50
|
end
|
51
51
|
|
52
52
|
main_obj = @object
|
@@ -68,7 +68,7 @@ module RailsAdmin
|
|
68
68
|
message = "<strong>#{I18n.t('admin.actions.sort_embedded.error')}</strong>: #{e}"
|
69
69
|
end
|
70
70
|
|
71
|
-
render
|
71
|
+
render plain: message
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_sort_embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0
|
4
|
+
version: 0.2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mongoid
|