diff options
author | Javan Makhmali <javan@javan.us> | 2018-10-03 14:41:47 -0400 |
---|---|---|
committer | Javan Makhmali <javan@javan.us> | 2018-10-03 14:41:47 -0400 |
commit | 30443121286c3bb970d4d24bf7f24472498e9633 (patch) | |
tree | 6799fe7cc8aaabd6bfa35c8dfc75a11eb7f4e332 /app/views/action_text | |
parent | 7a993324342d5542dcb40902eed097f7eaac3f1b (diff) | |
download | rails-30443121286c3bb970d4d24bf7f24472498e9633.tar.gz rails-30443121286c3bb970d4d24bf7f24472498e9633.tar.bz2 rails-30443121286c3bb970d4d24bf7f24472498e9633.zip |
Move attachment rendering to a helper
Fixes #5
Diffstat (limited to 'app/views/action_text')
-rw-r--r-- | app/views/action_text/content/_layout.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <div class="trix-content"> - <%= sanitize document %> + <%= sanitize render_action_text_content(content) %> </div> |