app/controllers/spotlight/search_configurations_controller.rb in blacklight-spotlight-0.14.0 vs app/controllers/spotlight/search_configurations_controller.rb in blacklight-spotlight-0.14.1

- old
+ new

@@ -19,10 +19,10 @@ def edit add_breadcrumb t(:'spotlight.exhibits.breadcrumb', title: @exhibit.title), @exhibit add_breadcrumb t(:'spotlight.configuration.sidebar.header'), exhibit_dashboard_path(@exhibit) add_breadcrumb t(:'spotlight.configuration.sidebar.search_configuration'), edit_exhibit_search_configuration_path(@exhibit) - @field_metadata = Spotlight::FieldMetadata.new(repository, @blacklight_configuration.blacklight_config) + @field_metadata = Spotlight::FieldMetadata.new(current_exhibit, repository, @blacklight_configuration.blacklight_config) end def update if @blacklight_configuration.update(exhibit_params) flash[:notice] = t(:'helpers.submit.blacklight_configuration.updated', model: @blacklight_configuration.class.model_name.human.downcase)