Skip to content
Snippets Groups Projects
Commit 4efabdc6 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 01cf6fb9
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,8 @@ module Communication::Website::Menu::WithAutomatism
end
def create_items
home = website.pages.root.first
home = website.pages.where(language_id: language_id).root.first
return unless home
create_items_for_children_of(home)
end
......
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