Sha256: a8354e61d2b13b36836a8c7d65e7ced9bb5bb32b27ef879666c045318535eaf3

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 Bytes

Contents

Pulitzer::Engine.routes.draw do
  resources :posts do
    member do
      get :processing_preview
      get :edit_slug
      get :edit_title
      get :show_slug
      patch :update_slug
    end
  end
  resources :content_elements
  resources :post_tags

  resources :content_elements
  resources :partials do
    collection do
      patch :update_all
    end
  end

  resources :tags
  resources :post_types do
    member do
      get :template
    end
  end

  resources :versions
  resources :content_element_types
  resources :post_type_content_element_types
  resources :free_form_section_types
  resources :partial_types do
    collection do
      patch :update_all
    end
  end
  resources :layouts
  resources :free_form_sections
  root to: 'post_types#index'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pulitzer-0.12.5 config/routes.rb
pulitzer-0.12.4 config/routes.rb