Sha256: 88105d232038f23f49df8f4d2271acfe3434d055cc9b3f9b87f6aef525736334

Contents?: true

Size: 260 Bytes

Versions: 26

Compression:

Stored size: 260 Bytes

Contents

module Trestle
  module Adapters
    module DraperAdapter
      def decorate_collection(collection)
        if decorator = admin.decorator
          decorator.decorate_collection(collection)
        else
          super
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
trestle-0.8.6 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.5 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.4 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.3 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.2 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.0 lib/trestle/adapters/draper_adapter.rb