Sha256: f372c65839c2cdbd60cece27cd4212faf53ef72cd420bc2ed570a68bb1c1dc2b

Contents?: true

Size: 884 Bytes

Versions: 2

Compression:

Stored size: 884 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 :background_styles
  resources :justification_styles
  resources :sequence_flow_styles
  resources :arrangement_styles

  resources :free_form_sections
  root to: 'post_types#index'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pulitzer-0.13.1 config/routes.rb
pulitzer-0.13.0 config/routes.rb