Class: ActiveAdmin::ArbreDecorator
- Includes:
- ActionView::Helpers, Arbre::Element::BuilderMethods
- Defined in:
- lib/activeadmin/arbre_decorator.rb
Instance Method Summary collapse
-
#initialize(obj) ⇒ ArbreDecorator
constructor
A new instance of ArbreDecorator.
Methods inherited from Decorator
decorate, decorates_association, #model, #nil?
Constructor Details
#initialize(obj) ⇒ ArbreDecorator
Returns a new instance of ArbreDecorator.
10 11 12 13 |
# File 'lib/activeadmin/arbre_decorator.rb', line 10 def initialize(obj) super singleton_class.include Rails.application.routes.url_helpers end |