stadtratmonitor/lib/tasks/index.rake

7 lines
138 B
Ruby
Raw Normal View History

2016-01-23 20:32:37 +01:00
namespace :index do
desc 'Rebuild elasticsearch index for Paper model'
task rebuild: :environment do
Paper.reset_index!
end
end