Sha256: 5c32163178be6d5d9d073a980c11abf9d02be880e394bb6bccc923e796c16e82

Contents?: true

Size: 328 Bytes

Versions: 8

Compression:

Stored size: 328 Bytes

Contents

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'

  localized do
    mount Ecm::UserArea::Engine, at: '/auth'
    get '/', to: 'home#index'
  end

  root to: redirect("/#{I18n.locale}")
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ecm_user_area2-2.3.0 spec/dummy/config/routes.rb
ecm_user_area2-2.2.0 spec/dummy/config/routes.rb
ecm_user_area2-2.0.0 spec/dummy/config/routes.rb
ecm_user_area2-1.2.10 spec/dummy/config/routes.rb
ecm_user_area2-1.2.9 spec/dummy/config/routes.rb
ecm_user_area2-1.2.8 spec/dummy/config/routes.rb
ecm_user_area2-1.2.6 spec/dummy/config/routes.rb
ecm_user_area2-1.0.3 spec/dummy/config/routes.rb