lib/pakyow/presenter/behavior/error_rendering.rb in pakyow-presenter-1.0.0.rc2 vs lib/pakyow/presenter/behavior/error_rendering.rb in pakyow-presenter-1.0.0.rc3
- old
+ new
@@ -13,9 +13,10 @@
module Presenter
module Behavior
module ErrorRendering
extend Support::Extension
+ # @api private
def self.render_error(error, context)
context.respond_to :html do
if Pakyow.env?(:production)
context.render "/500"
else