Skip to content
Snippets Groups Projects
Commit 571f336d authored by pabois's avatar pabois
Browse files

comment

parent d82bb0f4
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@ module Communication::Website::Page::WithPath
end
def path
# TODO i18n remplacer le choix de la langue
path = ''
# TODO i18n remplacer le choix de la langue
path += "/#{website.languages.first.iso_code}" if website.languages.any?
path += "/#{slug_with_ancestors}/"
path.gsub(/\/+/, '/')
......
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