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
5 6 7 8 9 10 11 |
# File 'lib/active_decorator/monkey/abstract_controller/rendering.rb', line 5 def view_assigns hash = super hash.values.each do |v| ActiveDecorator::Decorator.instance.decorate v end hash end |