- MyApp::Application.routes.draw do
- localize_and_scope_for(I18n.available_locales, :skip_scope => I18n.default_locale) do
- # Your routes here.
- # Example:
- #
- # resources :pages
- #
- # You will have no scope for the default locale, i.e. '/pages/new'
- # but all other locales will create a scope, i.e. '/es/paginas/nueva'
- end
- end