Sha256: 78b4ad8637a8afd1e008ce74186612b5254e74fc4955890fb3aa1cb9d5568f34
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
Rails.application.routes.draw do if Gem::Specification::find_all_by_name('route_translator').any? localized do resources :settings end else # using normal Rails i18n routes scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do resources :settings end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tkh_admin_panel-0.10 | config/routes.rb |