CRUD API ready

This commit is contained in:
Senad Uka
2019-06-21 20:01:43 +02:00
parent 877f0425d0
commit 0357df32a7
8 changed files with 36 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
Rails.application.routes.draw do
resources :money_moves
resources :homies
constraints format: :json do
resources :money_moves
resources :homies
end
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end