config/routes.rb in kuhsaft-1.4.3 vs config/routes.rb in kuhsaft-1.5.0
- old
+ new
@@ -7,7 +7,10 @@
resources :assets
root :to => 'pages#index'
end
- match '/:locale/*url' => 'pages#show'
+ scope ":locale", :locale => /#{I18n.available_locales.join('|')}/ do
+ resources :pages, :only => [:index]
+ match '*url' => 'pages#show'
+ end
end