fix NTU album module_app data
This commit is contained in:
1 parent
b179668a9c
commit
641b5310b0
1 file changed
+6
@@ -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
|
||||
Reference in new issue
Block a user