fix NTU album module_app data

This commit is contained in:
Fu Matthew 2013-01-02 16:04:11 +08:00
parent b179668a9c
commit 641b5310b0
1 changed files with 6 additions and 0 deletions

View File

@ -332,4 +332,10 @@ namespace :migrate do
ObjectAuth.destroy_all
end
task :correct_gallery_widget => :environment do
@module_app = ModuleApp.where(:key=>'gallery').first
@module_app.widgets=["widget1"]
@module_app.save
end
end