Skip to content

Commit

Permalink
Merge pull request #249 from sul-dlss/index_after_import
Browse files Browse the repository at this point in the history
Index objects after they are imported
  • Loading branch information
justinlittman committed May 2, 2019
2 parents 1f10529 + 062a4be commit f188dd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/cleaner.rake
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ task seed: :environment do
puts "Loading '#{description.chomp}'"
file = File.join(__dir__, 'seeds', "#{druid}.xml")
ActiveFedora::FixtureLoader.import_to_fedora(file, druid)
ActiveFedora::FixtureLoader.index(druid)
end
end

0 comments on commit f188dd8

Please sign in to comment.