orbit-basic/lib/tasks/default_locale.rake

6 lines
154 B
Ruby

namespace :default_locale do
task :reset => :environment do
site = Site.update_all({:default_locale => nil})
puts "Default Locale Reset"
end
end