aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/action_text/tag_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/action_text/tag_helper.rb')
-rw-r--r--app/helpers/action_text/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/action_text/tag_helper.rb b/app/helpers/action_text/tag_helper.rb
index 103b65eb97..c7ba416880 100644
--- a/app/helpers/action_text/tag_helper.rb
+++ b/app/helpers/action_text/tag_helper.rb
@@ -45,7 +45,7 @@ module ActionView::Helpers
end
def editable_value
- value.body.try(:to_trix_html)
+ value&.body.try(:to_trix_html)
end
end