mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +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
|