Apply Rails/Presence rule in ERB files
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
|
||||
<div class="small-12 medium-11 column end">
|
||||
<%= markdown(process.summary.present? ? process.summary : first_paragraph(process.description)) %>
|
||||
<%= markdown(process.summary.presence || first_paragraph(process.description)) %>
|
||||
</div>
|
||||
|
||||
<div class="small-12 medium-11 column end">
|
||||
|
||||
Reference in New Issue
Block a user