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

fix menus on site creation

parent 9e332871
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ module Communication::Website::WithMenus
def find_or_create_menu(identifier)
menu = menus.where(identifier: identifier, university: university, language: default_language).first_or_initialize do |menu|
menu.title = I18n.t("communication.menus.default_title.#{identifier}")
menu.title = I18n.t("communication.website.menus.default_title.#{identifier}")
end
unless menu.persisted?
menu.save
......
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