effective_polls 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/effective/polls/_dashboard.html.haml +1 -1
- data/lib/effective_polls/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef6b14276ec4d44a44936aff57b9cc1f933a08f88406551d6424ded7f70ff37f
|
4
|
+
data.tar.gz: d1b6619c056f9d702eab75a3f17fa6227edd8c3386864653d5fc9ce19e7edfa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deada936517080769fc4c1ccfd8f7d91359116c3ce2ee92c3d195fb6d4aabe681cf292a960c24b46efd2d96c8bc220113ae2a88e18aa44677eacb86eb31c9add
|
7
|
+
data.tar.gz: a95e7c178730c0ee8f495a51ecc68c8d62d3d76669debc0e0f19c0c3ba21144e771da3a74e616cac3b71051c9bfbba9fd657fe3fb08fc3979219a3aa506a8d8a
|
@@ -1,5 +1,5 @@
|
|
1
1
|
-# In progress ballot
|
2
|
-
- ballot = Effective::Ballot.in_progress.where(user: current_user).first
|
2
|
+
- ballot = Effective::Ballot.in_progress.where(user: current_user).select { |ballot| ballot.poll.present? }.first
|
3
3
|
- datatable = EffectiveResources.best('EffectivePollsAvailablePollsDatatable').new(self, namespace: :effective)
|
4
4
|
|
5
5
|
- if ballot.present?
|