From 30443121286c3bb970d4d24bf7f24472498e9633 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Wed, 3 Oct 2018 14:41:47 -0400 Subject: Move attachment rendering to a helper Fixes #5 --- app/views/action_text/content/_layout.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/action_text') diff --git a/app/views/action_text/content/_layout.html.erb b/app/views/action_text/content/_layout.html.erb index b8c8ab6fc6..60d65cd0d5 100644 --- a/app/views/action_text/content/_layout.html.erb +++ b/app/views/action_text/content/_layout.html.erb @@ -1,3 +1,3 @@
- <%= sanitize document %> + <%= sanitize render_action_text_content(content) %>
-- cgit v1.2.3