Sha256: e69eb972bfc75fbd4801192b3b66623dfcec7af9bba80c73f39577dc923eee62

Contents?: true

Size: 594 Bytes

Versions: 1

Compression:

Stored size: 594 Bytes

Contents

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'

  root :to => 'main#index'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-localization-0.2.0 test/test_app/config/routes.rb