lotus_admin 1.5.3 → 1.5.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d5052f9e0e3aaf32f8b1dfcf66be5501f293ffdd683ad13c1c570177dce11f6
|
4
|
+
data.tar.gz: 0dbbb116f2aae45ae698a81d7ae214af02dc339d5875124fc910271fa0115b9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c4c4102df48541806b92fad477bc7c4be8e6d855e23fd0462f9a85ec06fee0b4723b793484f9195675b46ad27efcbb08a13910ec323f64d041a21bcb5fe9ed
|
7
|
+
data.tar.gz: 3cd4e662aa85bf6c4e66b1c34d6f7f694ae4015e4edf05587c5aa77bf894c25a2206fa01475e504b36809062d4ec3c45449c06d83cf8a0cf83b0a8d0de5499ee
|
@@ -32,7 +32,7 @@ class LotusAdmin::ResourceController < LotusAdmin::AuthenticatedController
|
|
32
32
|
format.html
|
33
33
|
|
34
34
|
if block.present?
|
35
|
-
block.call
|
35
|
+
block.call(format)
|
36
36
|
else
|
37
37
|
if resource.save
|
38
38
|
redirect_to after_create_redirect, notice: "Created new #{ resource_class.model_name.human } successfully"
|
data/lib/lotus_admin/version.rb
CHANGED