Forgot to save the page_parts
This commit is contained in:
parent
bdcfb46294
commit
2757044c32
|
@ -38,6 +38,7 @@ class Page < Item
|
||||||
current_part.kind = menu_part.kind
|
current_part.kind = menu_part.kind
|
||||||
current_part.public_r_tag = menu_part.public_r_tag
|
current_part.public_r_tag = menu_part.public_r_tag
|
||||||
current_part.public_r_tag_object_id = menu_part.public_r_tag_object_id
|
current_part.public_r_tag_object_id = menu_part.public_r_tag_object_id
|
||||||
|
current_part.save
|
||||||
else
|
else
|
||||||
current_part.update_attributes(:kind => menu_part.kind, :public_r_tag => menu_part.public_r_tag, :public_r_tag_object_id => menu_part.public_r_tag_object_id)
|
current_part.update_attributes(:kind => menu_part.kind, :public_r_tag => menu_part.public_r_tag, :public_r_tag_object_id => menu_part.public_r_tag_object_id)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue