Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Ithyvan's Profile

GitHub User: Ithy

Comments by Ithyvan


Hi i use rails 4.

I have a loop in my url when i put bad locales : example :

It's look like :

In my config/routes.rb i have :

match '', to: redirect{|params| "/#{I18n.default_locale}"}, via: :all
match '*path', to: redirect{|params| "/#{I18n.default_locale}/#{params[:path]}"}, via: :all

Does anyone have the same issue ?


Thanks for this one more time amazing railscast !