Added rake for default locale
This commit is contained in:
parent
6e9c21781c
commit
ee1246caa4
|
@ -0,0 +1,6 @@
|
|||
namespace :default_locale do
|
||||
task :reset => :environment do
|
||||
site = Site.update_all({:default_locale => nil})
|
||||
puts "Default Locale Reset"
|
||||
end
|
||||
end
|
Reference in New Issue