Sha256: 60a65b32a96364877a35c79d2955d6f482d3fcb0a73ca2f17fb8a198e982aaf3
Contents?: true
Size: 410 Bytes
Versions: 9
Compression:
Stored size: 410 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 collection do post :sort end end get 'blog' => 'blog#index', as: :blog get 'tags/:tag', to: 'blog#index', as: :tag resources :contacts end end
Version data entries
9 entries across 9 versions & 1 rubygems