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

Fix #2265

parent eb564e1a
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ class Admin::Communication::Websites::PagesController < Admin::Communication::We
end
old_parent_page.sync_with_git
parent_page.sync_with_git if parent_page != old_parent_page
@website.generate_automatic_menus(parent_page.language)
@website.generate_automatic_menus_for_language(current_language)
end
def children
......
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