mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
Add Boards management to sitesettings (#107)
This commit is contained in:
committed by
GitHub
parent
7b8a4d6709
commit
6be2394dc5
@@ -19,13 +19,18 @@ Rails.application.routes.draw do
|
||||
resources :likes, only: [:index]
|
||||
resources :comments, only: [:index, :create, :update]
|
||||
end
|
||||
resources :boards, only: [:show]
|
||||
|
||||
resources :boards, only: [:index, :create, :update, :destroy, :show] do
|
||||
patch 'update_order', on: :collection
|
||||
end
|
||||
|
||||
resources :post_statuses, only: [:index, :create, :update, :destroy] do
|
||||
patch 'update_order', on: :collection
|
||||
end
|
||||
|
||||
namespace :site_settings do
|
||||
get 'general'
|
||||
get 'boards'
|
||||
get 'post_statuses'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user