mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
Add post status administration (#105)
This commit is contained in:
committed by
GitHub
parent
c5148147e3
commit
5256ea911a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user