app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-0.28.2 vs app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-0.28.3
- old
+ new
@@ -5,10 +5,10 @@
<%= bootstrap_form_for([spotlight, @page.exhibit, @page], role: 'form', html: {
data: {
:'form-observer' => true,
:'blacklight-configuration-index-fields' => available_index_fields,
:'blacklight-configuration-search-views' => available_view_fields.map { |k,v| { key: k, label: view_label(k) }},
- :'attachment-endpoint' => spotlight.exhibit_attachments_url(@page.exhibit),
+ :'attachment-endpoint' => spotlight.exhibit_attachments_path(@page.exhibit),
:'autocomplete-exhibit-catalog-path'=> spotlight.autocomplete_exhibit_catalog_path(@page.exhibit, q: "%QUERY", format: "json"),
:'autocomplete-exhibit-feature-pages-path' => spotlight.exhibit_feature_pages_path(@page.exhibit, format: "json"),
:'autocomplete-exhibit-searches-path' => spotlight.exhibit_searches_path(@page.exhibit, format: "json"),
:'preview-url' => (spotlight.exhibit_preview_block_url(@page.exhibit, @page) if @page.persisted?)
}