Sha256: ceceebb0da4dea5d31b67fd3cde533a1bdb5ce7e74e724efed0e82fab6af62fe

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

Rails.application.routes.draw do
  contexts :locale do
    get '/', to: 'application#index', as: :root
    get '/locale', to: 'application#index', as: :locale_page

    context :city do
      get '/city/', to: 'application#index', as: :city_page
    end
  end

  get '/context', to: 'context#index'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contexts-2.0.0 spec/dummy/routes.rb