From 28e4604375d228d73775835e9176b72f4bde86e1 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Mon, 6 Mar 2023 17:27:09 +1100 Subject: [PATCH] Show full status content in excerpt --- app/decorators/posts/decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/decorators/posts/decorator.rb b/app/decorators/posts/decorator.rb index 4658c73..c201a7f 100644 --- a/app/decorators/posts/decorator.rb +++ b/app/decorators/posts/decorator.rb @@ -64,7 +64,7 @@ module Adamantium end def excerpt - truncate_html(content, 140, true) + name ? truncate_html(content, 140, true) : content end def permalink