Add post list

This commit is contained in:
riggraz
2019-09-02 19:26:34 +02:00
parent edacfb1a4f
commit 86286b634d
13 changed files with 251 additions and 74 deletions

View File

@@ -15,4 +15,5 @@ Rails.application.routes.draw do
resources :boards, only: [:show]
post '/posts', to: 'posts#create'
get '/posts', to: 'posts#index_by_board_id'
end