Sha256: 90b22892cd76804495a72bb3386d55c253f9eaf423afc3910fcab9ac33ca8b2b

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

module ActiveDecorator
  module Monkey
    module ActionView
      module ObjectRenderer
        def render_object_with_partial(object, *)
          ActiveDecorator::Decorator.instance.decorate object
          super
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_decorator-1.4.1 lib/active_decorator/monkey/action_view/object_renderer.rb
active_decorator-1.4.0 lib/active_decorator/monkey/action_view/object_renderer.rb
active_decorator-1.3.4 lib/active_decorator/monkey/action_view/object_renderer.rb