mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Add comments controller and routes
This commit is contained in:
@@ -13,6 +13,8 @@ Rails.application.routes.draw do
|
||||
devise_for :users
|
||||
|
||||
resources :boards, only: [:show]
|
||||
resources :posts, only: [:index, :create, :show, :update]
|
||||
resources :posts, only: [:index, :create, :show, :update] do
|
||||
resources :comments, only: [:index]
|
||||
end
|
||||
resources :post_statuses, only: [:index]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user