Sha256: 98997d258c39028d1f1978e9a6d1e0f165f987965e9cd5ae7bf0a5c0244b5033

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

InterpretApp::Application.routes.draw do
  root :to => redirect("/es")

  mount Interpret::Engine => "/interpret"

  scope ":locale" do
    get "archives", :to => "pages#archives"
    get "links", :to => "pages#links"
    get "resources", :to => "pages#resources"
    get "contact", :to => "pages#contact"

    post "toggle_edition_mode", :to => "application#toggle_edition_mode"

    namespace :admin do
      get 'dashboard', :to => "dashboard#index"
    end

    root :to => "pages#index"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
interpret-1.1.2 test_app/config/routes.rb
interpret-1.1.1 test_app/config/routes.rb
interpret-1.1.0 test_app/config/routes.rb
interpret-1.0.2 test_app/config/routes.rb
interpret-1.0.1 test_app/config/routes.rb
interpret-1.0.0 test_app/config/routes.rb