Sha256: c33d0950c9617998032bfc74e76438909c79742ba0a8be89a8dfd1a40246b890

Contents?: true

Size: 467 Bytes

Versions: 9

Compression:

Stored size: 467 Bytes

Contents

module Pageflow
  module LinkmapPage
    class PageType < Pageflow::PageType
      name 'linkmap_page'

      def view_helpers
        [AreasHelper]
      end

      def thumbnail_candidates
        [
          {attribute: 'thumbnail_image_id', file_collection: 'image_files'},
          {attribute: 'panorama_image_id', file_collection: 'image_files'},
          {attribute: 'panorama_video_id', file_collection: 'video_files'}
        ]
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pageflow-linkmap-page-1.5.0 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-1.4.0 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-1.3.0 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-1.2.1 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-1.2.0 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-1.1.0 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-1.0.0 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-0.2.0 lib/pageflow/linkmap_page/page_type.rb
pageflow-linkmap-page-0.1.0 lib/pageflow/linkmap_page/page_type.rb