Julian Schneider
fde9e8c04a
I18n: Keep fragment and query in url_for ( #2062 )
...
* Add Cucumber Feature for url_for with query and fragment
* Keep query and fragment when i18n-ing a path
2017-04-27 19:24:04 -07:00
Markus Fenske
448e179542
Add support for locale suffixes to link_to ( #2065 )
...
There is a bug in the I18n part which does not link paths including a
locale suffix (e.g. foobar.en.html.erb) correctly. This patch fixes it
and also adds tests.
2017-04-27 19:22:54 -07:00
Thomas Reynolds
ccc1cc1288
Fix ordering in tests
2016-05-11 11:48:21 -07:00
Thomas Reynolds
5630395b40
allow bad paths in i18n links. for #850
2015-06-02 13:48:23 -07:00
Thomas Reynolds
ca8655744a
Support relative urls in i18n links. For #850
2015-06-01 13:53:39 -07:00
Thomas Reynolds
5e30ef98a1
Fix new link_to i18n w.r.t. index pages. For #850
2015-06-01 11:51:27 -07:00
Thomas Reynolds
f7ba4ada20
More i18n tests and make sure templates with locale in file name take precedence over the default.
2015-05-16 13:53:09 -07:00
Thomas Reynolds
d3c7436647
Tweak locale links
2015-05-16 13:21:12 -07:00
Thomas Reynolds
6502b37934
Use locale for link_to flag
2015-05-16 12:50:39 -07:00
Thomas Reynolds
ed5236ef37
Fix bone-headed link_to change
2015-05-15 16:20:47 -07:00
Thomas Reynolds
9de1f16f3b
Empower link_to in a i18n context
2015-05-11 09:13:04 -07:00