about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-15 09:08:16 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-15 09:27:43 -0500
commitb6b5bae72ca45ee6d4e3ac048c1dcb26480fa094 (patch)
treefe983ebf16402b8c1862dd0c8b5faa46e80fffbe /app/views
parentc19fc4cf9bf7e8eedf2b753cc73f2cd16d6c2fc8 (diff)
fix err 500 when trying to read `identity_proofs` from a non-existant account
Diffstat (limited to 'app/views')
-rw-r--r--app/views/accounts/_bio.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/_bio.html.haml b/app/views/accounts/_bio.html.haml
index efc26d136..7d6419d09 100644
--- a/app/views/accounts/_bio.html.haml
+++ b/app/views/accounts/_bio.html.haml
@@ -1,4 +1,4 @@
-- proofs = account.identity_proofs.active
+- proofs = account&.identity_proofs&.active || []
 - fields = account.fields
 
 .public-account-bio