test/test_app/config/routes.rb in rails-localization-0.1.1 vs test/test_app/config/routes.rb in rails-localization-0.2.0

- old
+ new

@@ -1,5 +1,15 @@ +require File.expand_path("../../lib/sub_app", __FILE__) + +SubApp::Engine.routes.draw do + get :print_redirect, :to => 'main#print_redirect' + get :welcome, :to => 'main#welcome' + root :to => 'main#index' +end + TestApp::Application.routes.draw do + mount SubApp::Engine => '/sub', :as => :sub_app_engine + get :users, :to => "users#index" get "users/with_locale", :to => "users#with_locale" get "users/without_locale", :to => "users#without_locale" get "users/with_defined_locale", :to => "users#with_defined_locale" get :welcome, :to => 'main#welcome'