mobile_workflow 0.6.2 → 0.6.3
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: fa30fd9bb5c6aa9d27333100a4955e32219e8a0241753d03743cb4ae3e769a40
|
4
|
+
data.tar.gz: d23b234015566cd627dc4063efa40b7ef14d0f7a80a5511b5a06739f580f9ee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9861be314639d646a46c7b35d85a91cd4ebf32b4b19320878cc494ac5b0227052e12f7ab0f6f0173a56ab503b3748a40f004b3a3613ae9c511f9e526521ee987
|
7
|
+
data.tar.gz: 95fb08640afa41f41d792b8fdf97d14c4622163600546638733f1d02a29d60c3cf3b4fdf09b1574fcfb3ed9a8094bcc15dcd24552376e686ae1a5a7261de60c8
|
@@ -19,7 +19,7 @@ class <%= controller_class_name %>Controller < ApiController
|
|
19
19
|
render json: { binary_urls: binary_urls(@<%= singular_table_name %>), response: @<%= singular_table_name %> }, status: :created
|
20
20
|
<% else -%>
|
21
21
|
render json: { response: @<%= singular_table_name %> }, status: :created
|
22
|
-
<% end
|
22
|
+
<% end -%>
|
23
23
|
else
|
24
24
|
head :unprocessable_entity
|
25
25
|
end
|
@@ -13,13 +13,13 @@ class <%= class_name %> < <%= parent_class_name.classify %>
|
|
13
13
|
<% end -%>
|
14
14
|
|
15
15
|
def list_item_as_json
|
16
|
-
mw_list_item(text:
|
16
|
+
mw_list_item(text: <%= attributes.first.name %>)
|
17
17
|
end
|
18
18
|
|
19
19
|
def display_as_json
|
20
20
|
[
|
21
21
|
mw_display_text(label: 'ID', text: id.to_s),
|
22
|
-
mw_display_text(label: 'Text', text:
|
22
|
+
mw_display_text(label: 'Text', text: <%= attributes.first.name %>)
|
23
23
|
]
|
24
24
|
end
|
25
25
|
|