Sha256: a49656f36a4fb1f6ebf3f0de41ac0b4ab382f816e905765c4af2f97561e0e4d3

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

module ActiveDecorator
  module Monkey
    module AbstractController
      module Rendering
        def view_assigns
          hash = super
          hash.values.each do |v|
            ActiveDecorator::Decorator.instance.decorate v
          end
          hash
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_decorator-0.7.1 lib/active_decorator/monkey/abstract_controller/rendering.rb
active_decorator-0.7.0 lib/active_decorator/monkey/abstract_controller/rendering.rb
active_decorator-0.6.0 lib/active_decorator/monkey/abstract_controller/rendering.rb