Skip to content

Commit e0f1052

Browse files
committed
better truncation
1 parent 2c0f0f7 commit e0f1052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/users/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
</div>
9393
<% if content.description.present? %>
9494
<div class="card-content">
95-
<%= truncate content.description %>
95+
<%= truncate(content.description, length: 300) %>
9696
</div>
9797
<% end %>
9898
<% if content.respond_to?(:universe_id) && content.universe_id.present? %>

0 commit comments

Comments
 (0)