From acbae71a018a361531a60431c7a0f4b0b5fbc376 Mon Sep 17 00:00:00 2001 From: dnoneill Date: Wed, 11 Dec 2024 14:15:41 -0500 Subject: [PATCH] add exhibit path to form --- app/models/spotlight/page_configurations.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/spotlight/page_configurations.rb b/app/models/spotlight/page_configurations.rb index 5d6863d90..9268af308 100644 --- a/app/models/spotlight/page_configurations.rb +++ b/app/models/spotlight/page_configurations.rb @@ -40,7 +40,8 @@ def as_json(*) 'autocomplete-exhibit-pages-path': page_autocomplete_endpoint, 'autocomplete-exhibit-browse-groups-path': browse_groups_autocomplete_endpoint, 'autocomplete-exhibit-searches-path': search_autocomplete_endpoint, - 'preview-url': page_preview_url + 'preview-url': page_preview_url, + 'exhibit-path': spotlight.exhibit_path(current_exhibit) }.merge(downstream_parameters) end