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.10.1 lib/trestle/adapters/draper_adapter.rb
trestle-0.10.0 lib/trestle/adapters/draper_adapter.rb
trestle-0.10.0.pre2 lib/trestle/adapters/draper_adapter.rb
trestle-0.10.0.pre lib/trestle/adapters/draper_adapter.rb
trestle-0.9.8 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.7 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.6 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.5 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.4 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.3 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.2 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.1 lib/trestle/adapters/draper_adapter.rb
trestle-0.9.0 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.13 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.12 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.11 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.10 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.9 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.8 lib/trestle/adapters/draper_adapter.rb
trestle-0.8.7 lib/trestle/adapters/draper_adapter.rb