spotlight-dor-resources 0.6.0 → 0.6.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: c16090dc848236ee72c3109dcdaf5f553b538cec
|
4
|
+
data.tar.gz: 29cf8dee6ad31fc87d6a24a853e72be598f26237
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edb8d8577dd475224c84d854b6b9b7cafb6c92ea8c40b458949ed1ea2665235aa0cf4f16530ac94f068d1e44388e2a6c55eb630356e4daeaec6f17453ef17b8b
|
7
|
+
data.tar.gz: 85a2bec4d229e2bcddd84c35d94bbe05dd33f51a29c7e5bc38d81a5e62bb8f596aba065f2bb260db38d9e09d8b9c9316109498b0eb3dd7076fd3563954d138aa
|
@@ -11,7 +11,7 @@ module Spotlight::Resources
|
|
11
11
|
def create
|
12
12
|
@resource.update(resource_params)
|
13
13
|
|
14
|
-
if @resource.
|
14
|
+
if @resource.save_and_index
|
15
15
|
redirect_to spotlight.admin_exhibit_catalog_index_path(current_exhibit)
|
16
16
|
else
|
17
17
|
redirect_to spotlight.new_exhibit_resource_path(current_exhibit)
|
@@ -21,7 +21,7 @@ module Spotlight::Resources
|
|
21
21
|
def update
|
22
22
|
@resource.update(resource_params)
|
23
23
|
|
24
|
-
if @resource.
|
24
|
+
if @resource.save_and_index
|
25
25
|
redirect_to spotlight.admin_exhibit_catalog_index_path(current_exhibit)
|
26
26
|
else
|
27
27
|
redirect_to spotlight.new_exhibit_resource_path(current_exhibit)
|