Module: Trestle::Adapters::DraperAdapter

Defined in:
lib/trestle/adapters/draper_adapter.rb

Instance Method Summary collapse

Instance Method Details

#decorate_collection(collection) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/trestle/adapters/draper_adapter.rb', line 4

def decorate_collection(collection)
  if decorator = admin.decorator
    decorator.decorate_collection(collection)
  else
    super
  end
end