Fix language-specific redirects

This commit is contained in:
Olivier Lacan 2016-06-05 17:05:06 +02:00
parent e8602923dd
commit 1fe17fd838

View File

@ -26,7 +26,7 @@ redirect "index.html", to: "#{$last_version}/en/index.html"
$languages.each do |language|
language_param = language.last.parameterize
redirect "#{language.first}/", to: "#{$last_version}/#{language.first}/"
redirect "#{language.first}/index.html", to: "#{$last_version}/#{language.first}/index.html"
end
# ----- Assets ----- #