migrate for app config. fix panel style intro misplace
This commit is contained in:
parent
2b3cbc50b3
commit
9771d42587
|
@ -26,7 +26,7 @@
|
|||
<%= radio_button_tag field_name,"typeB_style2",style_checked_value(object,"typeB_style2") %>
|
||||
2
|
||||
<span class="style_img"><%=image_tag 'module/default_widgets/style02.png'%></span>
|
||||
<span class="style_description"><%= t("default_widget.caption.typeA") %></span>
|
||||
<span class="style_description"><%= t("default_widget.caption.typeB_style2") %></span>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
@ -431,4 +431,13 @@ namespace :migrate do
|
|||
|
||||
end
|
||||
|
||||
task :clean_module_app_objects => :environment do
|
||||
ModuleApp.all.each do |ma|
|
||||
%w{intro widget_fields_link_method widgets get_default_widget app_pages author enable_frontend get_widget_style get_widget_style organization update_info using_default_widget version widget_fields version create_date}.each do |field|
|
||||
ma.unset field
|
||||
end
|
||||
ma.save
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue