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