Sha256: c5bc375b64b85178295f0308661a795371e84d66d18f8e1a03d19b6af994acfd
Contents?: true
Size: 676 Bytes
Versions: 16
Compression:
Stored size: 676 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 resources :tags get 'blog' => 'blog#index', as: :blog get 'blog_by_tag/:id', :to => 'blog#by_tag', :as => 'blog_by_tag' end end
Version data entries
16 entries across 16 versions & 1 rubygems