add site_headers method

This commit is contained in:
jomo
2014-09-21 21:40:12 +02:00
parent ae05959340
commit 9187012e2e
2 changed files with 6 additions and 0 deletions

View File

@@ -5,6 +5,11 @@ module ApplicationHelper
site_title
end
def site_headers(site_headers)
content_for(:site_headers, site_headers.to_s.html_safe)
site_headers
end
def render_md(content)
renderer = Redcarpet::Render::HTML.new({
filter_html: true,