Closed amencarini closed 7 years ago
+1
+1 any updates on this?
spree_i18n
includes routing-filter by default, (source), i've tried multiple things and the definition from spree_i18n is always called after my defs, overriding any exclude
's set by my calls
no clue how to solve it
Doing some cleanup of my issues...
I am unsure if there's something wrong with the way I'm trying to get this done. I'm Ruby 2.0.0-p0, Rails 3.2.13, using Spree 1.3.2
Here's a snippet of my
routes.rb
:In
locale.rb
, in theexcluded?(url)
method,url
is always'/'
for all Spree links. This means that all links of the admin area get the locale prepended even if I have admin excluded via regex. I could put the filter inside Spree:But that would prevent me from having routes outside Spree that get the "locale" treatment.