add localization

This commit is contained in:
Yan
2017-10-11 17:29:28 +06:30
parent 4ab89efaf2
commit 476aafa791
6 changed files with 34 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ require 'sidekiq/web'
Rails.application.routes.draw do
scope "(:locale)", locale: /en|mm/ do
root 'home#index'
mount Sidekiq::Web => '/kiq'
@@ -375,3 +375,4 @@ Rails.application.routes.draw do
resources :commissioners
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
end