Sha256: 69a117ec3527e87924d5ae32b8d93d60a2c51826632690247d09c07b58b41e96

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true
module ActiveDecorator
  module Monkey
    module AbstractController
      module Rendering
        def view_assigns
          hash = super
          hash.each_value do |v|
            ActiveDecorator::Decorator.instance.decorate v
          end
          hash
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_decorator-0.8.0 lib/active_decorator/monkey/abstract_controller/rendering.rb