Files
old-roraccounting/config/routes.rb
2020-09-04 04:07:43 +03:00

15 lines
399 B
Ruby

Rails.application.routes.draw do
constraints format: :json do
resources :money_moves
resources :chips, only: %i[index create destroy]
resources :chip_values, only: %i[create update destroy]
resources :homies do
collection do
get 'cash'
end
end
end
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end