spec/dummy/config/routes.rb in ecm_user_area2-2.3.0 vs spec/dummy/config/routes.rb in ecm_user_area2-3.0.0
- old
+ new
@@ -1,11 +1,8 @@
Rails.application.routes.draw do
- # Temporary fix for https://github.com/enriclluelles/route_translator/issues/123
- mount Ecm::UserArea::Engine, at: '/auth'
- get '/', to: 'home#index'
+ mount Ecm::UserArea::Engine, at: '/'
localized do
- mount Ecm::UserArea::Engine, at: '/auth'
get '/', to: 'home#index'
end
root to: redirect("/#{I18n.locale}")
end