mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
Add post list
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user