Sha256: 9d991e8731891581e56226d206283e8e5c34a702770edae0130eb125e94424c4

Contents?: true

Size: 968 Bytes

Versions: 5

Compression:

Stored size: 968 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 :custom_option_lists
  resources :custom_options
  
  resources :post_types do
    member do
      get :template
    end
  end

  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

5 entries across 5 versions & 1 rubygems

Version Path
pulitzer-0.14.4 config/routes.rb
pulitzer-0.14.3 config/routes.rb
pulitzer-0.14.2 config/routes.rb
pulitzer-0.14.1 config/routes.rb
pulitzer-0.14.0 config/routes.rb