1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
Commit graph

4 commits

Author SHA1 Message Date
Alexey Vasiliev
61915cdaab
Update rubocop + use enable-frozen-string-literal (#2354) 2020-08-16 12:08:50 -07:00
Paul McMahon
d59d0389e6
Fix linking of external urls when i18n is enabled (#2343)
The Internationalization extension is redefining url_for to localize url
paths. However, this redefinition was also acting on external urls,
causing them to sometimes have an "/index.html" appended to them.

This path uses the presence of a host in the parsed URI object to
determine whether or not a URL is "external". This is the same method
for determining this as is already used in the base url_for.
2020-06-15 09:07:53 -07:00
Thomas Reynolds
9002d0258c i18n + proxy example 2018-10-19 11:49:57 -07:00
Thomas Reynolds
9ebddeed1d merge more into core, use gem availability to autoload 2013-05-09 14:41:26 -07:00