Sha256: b2d85ca6cefea6903531e89957337836b473442209b3cec62f827b241420b4d2
Contents?: true
Size: 322 Bytes
Versions: 2
Compression:
Stored size: 322 Bytes
Contents
# frozen_string_literal: true module ActiveDecorator module Monkey module ActionController module Base def rescue_with_handler(*) ActiveDecorator::ViewContext.push(view_context) super ensure ActiveDecorator::ViewContext.pop end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
lulalala_presenter-0.1.0 | lib/active_decorator/monkey/action_controller/base/rescue_from.rb |
active_decorator-0.8.0 | lib/active_decorator/monkey/action_controller/base/rescue_from.rb |