Sha256: b040d45bde95e1c5477e5d2b202ec63991267c74f93def45a0120781264fbcd3
Contents?: true
Size: 643 Bytes
Versions: 14
Compression:
Stored size: 643 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 resources :contacts resources :comments do collection do get :pending get :accepted get :blocked get :for_feed end member do post :accept post :block end end get 'blog' => 'blog#index', as: :blog get 'tags/:tag', to: 'blog#index', as: :tag end end
Version data entries
14 entries across 14 versions & 1 rubygems