Module: ActivePath::Helpers::RenderingHelper
- Extended by:
- ActionView::Helpers::RenderingHelper
- Defined in:
- lib/active_path/helpers/rendering_helper.rb
Instance Method Summary collapse
-
#render(options = {}, locals = {}, &block) ⇒ Object
Notify subscribers that a partial has rendered.
Instance Method Details
#render(options = {}, locals = {}, &block) ⇒ Object
Notify subscribers that a partial has rendered
6 7 8 9 10 11 |
# File 'lib/active_path/helpers/rendering_helper.rb', line 6 def render( = {}, locals = {}, &block) buffer = super opts = { context: self, buffer: buffer, options: , locals: locals } ActiveSupport::Notifications.instrument(:render_partial, opts) buffer end |