Sha256: 79f7795707af8c36b6f6310d22dd653b5c08c2c7fe8347233592b07604344f9e
Contents?: true
Size: 651 Bytes
Versions: 8
Compression:
Stored size: 651 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 :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
8 entries across 8 versions & 1 rubygems