Add post status administration (#105)

This commit is contained in:
Riccardo Graziosi
2022-05-01 18:00:38 +02:00
committed by GitHub
parent c5148147e3
commit 5256ea911a
47 changed files with 1580 additions and 32 deletions

View File

@@ -20,5 +20,12 @@ Rails.application.routes.draw do
resources :comments, only: [:index, :create, :update]
end
resources :boards, only: [:show]
resources :post_statuses, only: [:index]
resources :post_statuses, only: [:index, :create, :update, :destroy] do
patch 'update_order', on: :collection
end
namespace :site_settings do
get 'general'
get 'post_statuses'
end
end