mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
6 lines
138 B
Ruby
6 lines
138 B
Ruby
namespace :index do
|
|
desc 'Rebuild elasticsearch index for Paper model'
|
|
task rebuild: :environment do
|
|
Paper.reset_index!
|
|
end
|
|
end
|