Add safe-navigation for note author (#20571)
This commit is contained in:
parent
ee29318126
commit
15bac7afbc
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@
|
|||
<%= time_ago_in_words note.created_at %> ago
|
||||
</span>
|
||||
<h3 class="crayons-subtitle-2">
|
||||
<%= note.author.name %>:
|
||||
<%= note.author&.name || "No Author" %>:
|
||||
</h3>
|
||||
<p>
|
||||
<%= note.content %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue