app/helpers/spotlight/pages_helper.rb in blacklight-spotlight-2.0.2 vs app/helpers/spotlight/pages_helper.rb in blacklight-spotlight-2.1.0
- old
+ new
@@ -56,7 +56,11 @@
end
def render_contact_email_address(address)
mail_to address, address
end
+
+ def configurations_for_current_page
+ Spotlight::PageConfigurations.new(context: self, page: @page).as_json
+ end
end
end