Skip to content
Snippets Groups Projects
Unverified Commit a7cc5170 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

fix #356

parent 7ad840b2
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ class Communication::Website::Menu::Item < ApplicationRecord
end
def sync_menu
menu.sync_with_git if menu
menu.sync_with_git if menu && !menu.destroyed?
end
def siblings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment