module-and-template-store/lib/tasks/run_index.rake

8 lines
190 B
Ruby
Raw Normal View History

2014-01-10 08:48:23 +00:00
namespace :run_index do
task :once => :environment do
Extension.es.index_all
puts "Index Created for Extension"
Template.es.index_all
puts "Index Created for Templates"
end
end