app/views/pageflow/linkmap_page/page.html.erb in pageflow-linkmap-page-2.5.0 vs app/views/pageflow/linkmap_page/page.html.erb in pageflow-linkmap-page-2.6.0

- old
+ new

@@ -5,10 +5,10 @@ <div class="scroller"> <div class="linkmap"> <div class="pan_zoom_safe_area_wrapper"> <div class="panorama_wrapper"> <% if configuration['background_type'] == 'video' && - !Pageflow::ImageFile.find_by_id(configuration['panorama_image_id']) %> + !find_file_in_entry(Pageflow::ImageFile, configuration['panorama_image_id']) %> <%= background_image_div_with_size(configuration, 'panorama_video', file_type: 'video_file', class: 'panorama panorama_image') %>