Sha256: 6cc7ecfe3f47cbed8f5c4feb56e464ef5880687ec3a476739c40071ce679cb4e

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

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
  resources :post_type_versions do
    collection do
      post :clone
    end
    member do
      get :template
      patch :change_state
    end
  end

  resources :custom_option_lists
  resources :custom_options

  resources :versions
  resources :content_element_types
  resources :post_type_content_element_types
  resources :styles
  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

1 entries across 1 versions & 1 rubygems

Version Path
pulitzer-0.15.11 config/routes.rb