Module: Pagelime::Rails::ControllerExtensions::InstanceMethods
- Defined in:
- lib/pagelime/rails/controller_extensions.rb
Instance Method Summary collapse
Instance Method Details
#cms_process_rendered_body ⇒ Object
11 12 13 14 15 16 |
# File 'lib/pagelime/rails/controller_extensions.rb', line 11 def cms_process_rendered_body ::Rails.logger.debug "PAGELIME CMS RAILS PLUGIN: Processing response body in controller" # tell pagelime-rack to parse response body, cache, and use result as response body ::Rack::Pagelime.enable_processing_for_request(request) end |