Sha256: eab4835f4f25952b85b188fba46553c5d05f23994e541aca1de66fdf32fd2514

Contents?: true

Size: 332 Bytes

Versions: 12

Compression:

Stored size: 332 Bytes

Contents

module Pageflow
  module BeforeAfter
    class PageType < Pageflow::PageType
      name 'before_after'

      def thumbnail_candidates
        [
          {attribute: 'thumbnail_image_id', file_collection: 'image_files'},
          {attribute: 'after_image_id', file_collection: 'image_files'}
        ]
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pageflow-before-after-1.6.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-1.5.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-1.4.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-1.3.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-1.2.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-1.1.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-1.0.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-0.5.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-0.4.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-0.3.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-0.2.0 lib/pageflow/before_after/page_type.rb
pageflow-before-after-0.1.0 lib/pageflow/before_after/page_type.rb