cleans up show view

This commit is contained in:
Juanjo Bazán
2016-03-08 13:40:35 +01:00
parent 1cbd1f9324
commit 7231f72e01
2 changed files with 25 additions and 12 deletions

View File

@@ -11,4 +11,8 @@ module TextWithLinksHelper
Rinku.auto_link(html, :all, 'target="_blank" rel="nofollow"').html_safe
end
def simple_format_no_tags_no_sanitize(html)
simple_format(html, {}, sanitize: false)
end
end