Sha256: 6daef79b59395ecd1e8ab7952eac5d0cad2d4eb78cb46983cd516501cfff464e
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 Bytes
Contents
Rails.application.routes.draw do scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do resources :pages do member do post :publish post :unpublish post :toggle_for_blog end end get 'blog' => 'blog#index', as: :blog get 'tags/:tag', to: 'blog#index', as: :tag resources :contacts end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tkh_content-0.1.9.2 | config/routes.rb |
tkh_content-0.1.9.1 | config/routes.rb |
tkh_content-0.1.9 | config/routes.rb |