Module: PagelimeHelper
- Defined in:
- app/helpers/pagelime_helper.rb
Instance Method Summary collapse
Instance Method Details
#cms_content(&block) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/helpers/pagelime_helper.rb', line 3 def cms_content(&block) # the block contents loaded into a variable input_content = capture(&block) html = ::Pagelime.process_region(input_content, request.path) # output the final content concat(html) # raw capture(&block) + "<div>hello world</div>" # raw "BLA!"; end |