stadtratmonitor/lib/tasks/index.rake
2016-01-23 20:32:37 +01:00

6 lines
138 B
Ruby

namespace :index do
desc 'Rebuild elasticsearch index for Paper model'
task rebuild: :environment do
Paper.reset_index!
end
end