carnival 0.0.50 → 0.0.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/carnival/base_admin_helper.rb +1 -1
- data/lib/carnival/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9911f6487a91963f1ec2a0e65b8fa582b8b8c17
|
4
|
+
data.tar.gz: 71bd753c90111dc5aaf8c6c521fbf7241c8a1bf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce0cbcb87cb585e4c0a78c62eb8d52d5b5eb6177f9984d1a5a6828fbbe82d79cab68e48de07046fd724f60add97df4c66dc781a179b464d25cb4e28315d72e48
|
7
|
+
data.tar.gz: 1a27475f3ab92d32923a45f25973c70214bf9c90c86df0ae85f47fb00011087b152e0a31b8199d5af1bbb4ebe93ca27f8048439b27bb1ca4e420a09346eecf84
|
@@ -59,7 +59,7 @@ module Carnival
|
|
59
59
|
current_type = field_type(presenter,field)
|
60
60
|
if current_type == :relation
|
61
61
|
if show_only_value
|
62
|
-
record.send(field.to_s).to_label
|
62
|
+
record.send(field.to_s).to_label unless record.send(field.to_s).nil?
|
63
63
|
else
|
64
64
|
return link_to presenter.relation_label(field.to_sym, record), presenter.relation_path(field.to_sym, record)
|
65
65
|
end
|
data/lib/carnival/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carnival
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vizir Software Studio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|