Sha256: 12b42f23a8210cb2d866bbc2c5e2fb894a319a16445ad993589f923632c3578c
Contents?: true
Size: 262 Bytes
Versions: 2
Compression:
Stored size: 262 Bytes
Contents
Rails.application.routes.draw do contexts :language do get '/', to: 'application#index', as: :root get '/lang', to: 'application#index', as: :lang_page context :city do get '/city/', to: 'application#index', as: :city_page end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contexts-1.1.0 | spec/dummy/routes.rb |
contexts-1.0.0 | spec/dummy/config/routes.rb |