Class: Motorhead::EngineRenderer
- Inherits:
-
ActionView::PartialRenderer
- Object
- ActionView::PartialRenderer
- Motorhead::EngineRenderer
- Defined in:
- lib/motorhead/action_view.rb
Instance Method Summary collapse
Instance Method Details
#render(context, options, block) ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/motorhead/action_view.rb', line 38 def render(context, , block) super rescue => e ext_name = [:partial][/[^\/]*/] (ext_name.camelize.constantize::Engine.on_error || Motorhead.config.on_error).call(e) context.capture(&block) end |