fix NTU album module_app data
This commit is contained in:
parent
b179668a9c
commit
641b5310b0
|
@ -332,4 +332,10 @@ namespace :migrate do
|
||||||
ObjectAuth.destroy_all
|
ObjectAuth.destroy_all
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :correct_gallery_widget => :environment do
|
||||||
|
@module_app = ModuleApp.where(:key=>'gallery').first
|
||||||
|
@module_app.widgets=["widget1"]
|
||||||
|
@module_app.save
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue