2019-06-20 20:48:19 +02:00
|
|
|
Rails.application.routes.draw do
|
2019-06-21 20:01:43 +02:00
|
|
|
constraints format: :json do
|
2019-06-22 06:17:48 +02:00
|
|
|
resources :money_moves
|
|
|
|
|
resources :homies do
|
|
|
|
|
collection do
|
|
|
|
|
get 'cash'
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
2019-06-21 20:01:43 +02:00
|
|
|
end
|
2019-06-20 20:48:19 +02:00
|
|
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
|
|
|
|
end
|