Module: PagelimeHelper
- Defined in:
- lib/app/helpers/pagelime_helper.rb
Instance Method Summary collapse
Instance Method Details
#cms_content(&block) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/app/helpers/pagelime_helper.rb', line 9 def cms_content(&block) # the block contents loaded into a variable input_content = capture(&block) page_path = request.path html = cms_process_html_block(page_path,input_content) # output the final content concat(html) # raw capture(&block) + "<div>hello world</div>" # raw "BLA!"; end |