A platform for community discussion. Free, open, simple.
# frozen_string_literal: true
Blog::Engine.routes.draw do
get "/blog-editor/publications/:topic_id/reviews" => "reviews#index"
post "/blog-editor/publications/:topic_id/reviews" => "reviews#create"
delete "/blog-editor/publications/:topic_id/reviews/:id" => "reviews#destroy"
get "/blog-editor/publications/:topic_id/reviews/:id/feedback" => "reviews#feedback"
get "/blog-editor/publications/:topic_id/feedback" => "reviews#topic_feedback"
get "/admin/plugins/blog/themes" => "themes#index"
post "/admin/plugins/blog/themes" => "themes#create"
post "/admin/plugins/blog/themes/import" => "themes#import"
get "/admin/plugins/blog/theme-authoring" => "themes#authoring"
post "/admin/plugins/blog/theme-authoring/preview" => "themes#working_preview"
get "/admin/plugins/blog/themes/:id/export" => "themes#export"
get "/admin/plugins/blog/themes/:id" => "themes#show"
put "/admin/plugins/blog/themes/:id" => "themes#update"
delete "/admin/plugins/blog/themes/:id" => "themes#destroy"
post "/admin/plugins/blog/themes/:id/activate" => "themes#activate"
post "/admin/plugins/blog/themes/:id/pull" => "themes#pull"
get "/blog-editor" => "editor#index"
get "/blog-editor/preview/:topic_id" => "editor#preview"
get "/blog-editor/publications/:topic_id" => "editor#show"
get "/blog-editor/publications/:topic_id/changes" => "editor#changes"
put "/blog-editor/publications/:topic_id" => "editor#update"
post "/blog-editor/publications/:topic_id/prepare" => "editor#prepare"
post "/blog-editor/publications/:topic_id/submit" => "editor#submit"
post "/blog-editor/publications/:topic_id/approve" => "editor#approve"
post "/blog-editor/publications/:topic_id/schedule" => "editor#schedule"
delete "/blog-editor/publications/:topic_id/schedule" => "editor#cancel_schedule"
post "/blog-editor/publications/:topic_id/publish" => "editor#publish"
post "/blog-editor/publications/:topic_id/return-to-drafts" => "editor#return_to_drafts"
delete "/blog-editor/publications/:topic_id" => "editor#destroy"
end