You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected behavior and actual behavior
link_to
does not generate correctly prefixed i18n URLs when using directory_indexes.I somehow remember this working before. Has anything changed or was this always the case?
Steps to reproduce the problem (from a clean middleman installation)
Reproduced here: https://github.com/jetxr/mm-i18n-test/blob/main/source/localizable/index.html.erb
link_to
are correctly generated with the locale prefixed when inside the locale's namespaced pathactivate :directory_indexes
toconfig.rb
link_to
to target/page/index.html
(or leave itpage.html
)Additional information
Not sure if this is similar to Localizing paths and links with i18n and directory_indexes (v4.1.1) #1798, Localization and Directory Indexes #1693
Doesn't seem like the tests have directory indexes enabled
Ruby version: 3.2.1
Middleman version: 4.4.3
OS version: macOS 13.3
The text was updated successfully, but these errors were encountered: