lib/tasks/spotlight_tasks.rake in blacklight-spotlight-0.10.3 vs lib/tasks/spotlight_tasks.rake in blacklight-spotlight-0.11.0
- old
+ new
@@ -48,11 +48,9 @@
exhibit.import data
exhibit.save!
exhibit.reindex_later
-
- puts Spotlight::ExhibitExportSerializer.new(exhibit.reload).to_json
end
desc 'Export an exhibit as JSON'
task :export, [:exhibit_slug] => :environment do |_, args|
exhibit = Spotlight::Exhibit.find_by(slug: args[:exhibit_slug])