Sha256: 5cfcb3573fdab46e90db6579f60a39dfa51691231ffbd25f70b32520f26ca6cd
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
module ActiveDecorator module Monkey module ActionView module PartialRenderer def setup(*) super @locals.values.each do |v| ActiveDecorator::Decorator.instance.decorate v end unless @locals.blank? ActiveDecorator::Decorator.instance.decorate @object unless @object.blank? ActiveDecorator::Decorator.instance.decorate @collection unless @collection.blank? self end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_decorator-0.7.0 | lib/active_decorator/monkey/action_view/partial_renderer.rb |
active_decorator-0.6.0 | lib/active_decorator/monkey/action_view/partial_renderer.rb |