You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
165 B
7 lines
165 B
13 years ago
|
namespace :maps do
|
||
|
desc 'Index the maps!'
|
||
|
task :index => :environment do
|
||
|
MapCrawler.new(Setting.map(:base_url)).crawl(Map.method(:from_city_name))
|
||
|
end
|
||
|
end
|