Module: ActiveDecorator::Monkey::AbstractController::Rendering
- Defined in:
- lib/active_decorator/monkey/abstract_controller/rendering.rb
Instance Method Summary collapse
Instance Method Details
#view_assigns ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/active_decorator/monkey/abstract_controller/rendering.rb', line 9 def view_assigns hash = super hash.each_value do |v| ActiveDecorator::Decorator.instance.decorate v end hash end |