Files
old-roraccounting/config/routes.rb

15 lines
399 B
Ruby
Raw Normal View History

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
2020-09-04 04:07:43 +03:00
resources :money_moves
resources :chips, only: %i[index create destroy]
resources :chip_values, only: %i[create update destroy]
resources :homies do
collection do
2019-06-22 06:17:48 +02:00
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