class Motorhead::EngineRenderer
Public Instance Methods
render(context, options, block)
click to toggle source
Calls superclass method
# File lib/motorhead/action_view.rb, line 40 def render(context, options, block) super rescue => e ext_name = options[:partial][/[^\/]*/] (ext_name.camelize.constantize::Engine.on_error || Motorhead.config.on_error).call(e) context.capture(&block) end