Sha256: af1dd1e30c696a1261ce5c8bb4598998550a752bdc9a2104b707677b8de429e9

Contents?: true

Size: 1.29 KB

Versions: 12

Compression:

Stored size: 1.29 KB

Contents

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

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

  resources :tags
  resources :post_types do
    collection do
      post :import
    end
    member do
      patch :import_version
      get :export
    end
  end
  resources :post_type_versions do
    collection do
      post :clone
    end
    member do
      get :template
      patch :change_state
      get :export
      patch :import_post
    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

12 entries across 12 versions & 1 rubygems

Version Path
pulitzer-0.15.31 config/routes.rb
pulitzer-0.15.30 config/routes.rb
pulitzer-0.15.29 config/routes.rb
pulitzer-0.15.28 config/routes.rb
pulitzer-0.15.27 config/routes.rb
pulitzer-0.15.26 config/routes.rb
pulitzer-0.15.25 config/routes.rb
pulitzer-0.15.24 config/routes.rb
pulitzer-0.15.23 config/routes.rb
pulitzer-0.15.22 config/routes.rb
pulitzer-0.15.21 config/routes.rb
pulitzer-0.15.20 config/routes.rb