Display vote name even when unauthenticated
For example, when sharing the link in messaging apps.
This commit is contained in:
parent
33bc3e1446
commit
45c8e9b6b4
3 changed files with 33 additions and 11 deletions
|
|
@ -46,6 +46,8 @@
|
|||
<div class="d-flex flex-wrap justify-content-end pe-3 py-3 mb-4">
|
||||
<% if current_user %>
|
||||
<%= current_user.email %>
|
||||
<% else %>
|
||||
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue