test/test_app/config/routes.rb in rails-localization-1.2.0 vs test/test_app/config/routes.rb in rails-localization-2.1.0

- old
+ new

@@ -5,10 +5,10 @@ get :welcome, :to => 'main#welcome' root :to => 'main#index' end TestApp::Application.routes.draw do - localized({"en" => "English", "ru" => "Russian"}) do + localized("en", "ru") do mount SubApp::Engine => '/sub', :as => :sub_app_engine get :users, :to => "users#index" get "users/with_locale", :to => "users#with_locale" get :welcome, :to => 'main#welcome'