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

remove quickfix

parent a0c06d20
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,7 @@ module WithGit
# Handle legacy language-less websites
# TODO I18n: Right now, we use the language of the website. It HAS TO get the language from the object including this concern.
path = "content/"
if website.languages.many?
# todo totalement arbitraire
path += "fr/"
elsif website.languages.any?
if website.languages.any?
path += "#{website.default_language.iso_code}/"
end
path
......
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